Closed
Description
A todo list of yet unimplemented API
-
Game.market.*
(Transactions and Orders need testing) -
Game.market.incomingTransactions
-
Game.market.outgoingTransactions
-
Game.market.orders
-
Game.market.get_all_orders
-
Game.market.get_order
-
Game.notify
-
Game.map.findExit
(implement callback) -
Game.map.findRoute
(has callback) -
Game.getObjectById
(for objects that have an id, but do not implementRoomObjectProperties
) -
Creep.body
(part of it is increep.parts
) -
Creep.saying
-
Creep.drop
-
Creep.moveByPath
-
Creep.moveTo
(implementopts
) -
Creep.notifyWhenAttacked
-
Flag.*
-
Mineral.*
-
Nuke.*
-
Ressouce.id
-
Room.memory
-
Room.visual
See What kind of RoomVisual support do we want? #46 -
Room.serializePath
-
Room.deserializePath
-
Room.findExitTo
-
Room.findPath
-
Room.getPositionAt
-
Room.lookAt
-
Room.lookAtArea
-
RoomPosition.findClosestByPath
see Implementation details of RoomPosition.findClosestByPath #55 -
RoomPosition.findPathTo
-
RoomPosition.isEqualxy
-
RoomPosition.look
-
RoomVisual.*
See What kind of RoomVisual support do we want? #46 -
StructureController.activateSafeMode
-
StructureController.unclaim
-
StructureExtension.*
(I don't believe we can go withHasStore
) -
StructureExtractor.*
-
StructureKeeperLair.*
-
StructureLab.*
-
StructureLink.*
-
StructureNuker.*
-
StructureObserver.*
-
StructurePowerBank.*
-
StructurePowerSpawn.*
-
StructurePortal.*
-
StructureRampart.*
-
StructureRoad.*
-
StructureSpawn.memory
-
StructureSpawn.spawnCreep
(options part, see todo in code) -
StructureSpawn.recycleCreep
-
StructureSpawn.renewCreep
-
StructureTerminal.*
-
StructureTower.*
-
Tombstone.id
- Update constants. There are a lot that are missing.
Relevant notes
There seem to be a need for a few more traits such as:
-
Decays
->tickToDecay
-
HasEnergyStore
-> for towers, spawns, extensions, rampart, [link, lab, terminal, creep, container, storage]. -
HasHitPoints
->hits
andhitsMax
Prior to solving a lot of other problems, there is a need for:
- A
Path
struct - A way to sanely get arrays back from js (fixed from using
TryFrom<Array>
) - A way to parse objects deeply (e.g. for market orders) (using serde)
- A way to encode the return value of all
look
methods (fromRoom
andRoomPosition
)