Uses of Interface
model.common.Buildable
Packages that use Buildable
-
Uses of Buildable in controller
Methods in controller with parameters of type BuildableModifier and TypeMethodDescriptionvoid
ICallBack.updateGridSystem
(Coordinate coordinate, Buildable buildable) -
Uses of Buildable in engine.engineMain
Methods in engine.engineMain with parameters of type BuildableModifier and TypeMethodDescriptionvoid
Handler.updateGridSystem
(Coordinate coordinate, Buildable buildable) -
Uses of Buildable in model
Modifier and TypeMethodDescriptionGameModel.getAllBuildable()
Gets everything on the map.GameModel.getFacilityBuildable()
GameModel.getZoneBuildable()
Modifier and TypeMethodDescriptionvoid
Adds the buildable to the world map, reverse operation of removeFromMapvoid
GameModel.checkTemporaryDirectView
(Buildable buildable) If the new buildable blocks the forest view, reverses the effect of the forest.boolean
GameModel.isPlotAvailable
(Buildable b) Checks if there is space for a certain buildable -
Uses of Buildable in model.facility
Classes in model.facility that implement BuildableModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
Methods in model.facility with parameters of type BuildableModifier and TypeMethodDescriptionboolean
Forest.hasDirectView
(Zone zone, Buildable[][] map) Checks if a zone can see the forest directlyvoid
Facility.resetConnected
(Buildable connectingPoint, Buildable[][] map) Resets the connected property with the current possibility of connectionvoid
Facility.setConnected
(Buildable connectingPoint, Buildable[][] map) -
Uses of Buildable in model.util
Methods in model.util with parameters of type BuildableModifier and TypeMethodDescriptiondouble
PathFinder.euclideanDistance
(Buildable start, Buildable goal) Calculates the euclidean distance between two buildableint
PathFinder.manhattanDistance
(Buildable start, Buildable goal) Calculates the manhattan distance between two buildabledouble
PathFinder.squareDistance
(Buildable start, Buildable goal) Calculates max difference between two buildableConstructors in model.util with parameters of type Buildable -
Uses of Buildable in model.zone
Classes in model.zone that implement BuildableModifier and TypeClassDescriptionclass
class
class
class
Methods in model.zone with parameters of type BuildableModifier and TypeMethodDescriptionvoid
Zone.resetConnected
(Buildable connectingPoint, Buildable[][] map) Resets the connected property with the current possibility of connection