Class Cell
- Direct Known Subclasses:
Wall
Base to build enviroment. Every cell contains reference to object on it.
If cell is empty content == null.
-
Field Summary
Fields inherited from class GameObject
game, timer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
render(Graphics2D g)
Method who render a object on screen (invoke on begin of each frames).Methods inherited from class GameObject
awake, getDeltaTime, onDestroy, setTimer, start, timerClockDown, update
-
Field Details
-
-
position
-
color
-
-
Constructor Details
-
Cell
public Cell(int x, int y)
-
-
Method Details
-
render
Description copied from class:GameObject
Method who render a object on screen (invoke on begin of each frames).- Overrides:
render
in classGameObject
-