time (in milliseconds) for how long the object already exists in the game
The base this flag belongs to.
The color of the flag.
The game instance.
Whether the flag is currently at its home base.
Optionalmaxoptional duration in milliseconds for how long the object should still exist in the game
Whether the flag is currently being carried by a tank.
Timestamp until which the flag stays at its dropped position before resetting.
The size of the flag for drawing and collision.
The team this flag belongs to.
OptionaltileMarks the object as deleted.
Draws the flag.
The context.
Drop the flag at a specific location.
X coordinate.
Y coordinate.
Is the object marked as deleted?
Return flag to base.
Update the position of the object on the map
a coordinate tuple (x, y)
Updates the flag state.
Represents a Flag in Capture the Flag mode.