Abstracttime (in milliseconds) for how long the object already exists in the game
The game instance.
Optionalmaxoptional duration in milliseconds for how long the object should still exist in the game
OptionaltileMarks the object as deleted.
AbstractdrawDefault draw function.
The 2D rendering context.
Is the object marked as deleted?
Update the position of the object on the map
a coordinate tuple (x, y)
Update method called every frame.
The time elapsed since the last frame in milliseconds.
Parent class for all objects in the game. Base class for Tanks, Bullets, PowerUps, etc.