It'd be great to have an engine/platform/api object you could access e.g.:
That would contain the implementation for that particular environment. It could eb an AIBase object with a specific name that we pass events to, that can also implement engine specific things.
An example of something that should be done with this would be how Shard will try to cache unit positions ever frame when ran as a LuaAI in Spring rather than as a C++ AI
It'd be great to have an engine/platform/api object you could access e.g.:
That would contain the implementation for that particular environment. It could eb an AIBase object with a specific name that we pass events to, that can also implement engine specific things.
An example of something that should be done with this would be how Shard will try to cache unit positions ever frame when ran as a LuaAI in Spring rather than as a C++ AI