time (in milliseconds) for how long the object already exists in the game
Base color.
OptionalflagThe flag belonging to this base.
The game instance.
Optionalmaxoptional duration in milliseconds for how long the object should still exist in the game
Base size.
OptionalteamThe team owning the base.
OptionaltileMarks the object as deleted.
Draws the base.
The context.
Checks if the base currently holds its flag.
True if the flag is in the base.
Is the object marked as deleted?
Update the position of the object on the map
a coordinate tuple (x, y)
Updates the hill state, checking for capture.
Represents a Hill in King of the Hill mode.