But there's more.
The BaseObject class needs more methods.
For now, these will be empty draw() and move() methods.
Subclasses will have to override them and implement the necessary functionality.
Also add a die() method, which causes the object to die (isAlive = false).
Space (part 6)
- 14
Locked
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Skynet
15 September 2021, 13:45
Formula for the intersects() method:
0
Vishnu
19 December 2019, 13:15
Any suggestions on last condition ?
0