Timeline for Collision detection on Android
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 26, 2018 at 23:00 | vote | accept | Niklas Rosencrantz | ||
Jul 26, 2018 at 18:26 | answer | added | Ankit Soni | timeline score: 1 | |
Jul 26, 2018 at 7:25 | comment | added | Niklas Rosencrantz | I think that "Movable" might be an interface because "able" is usually implemented as an interface. It could extend Movable, if Movable is an interface and we inherit both a class and an interface. MovableObject could also be the base class for the EnemyTank, with a "MoonSprite" I mean a sprite en.wikipedia.org/wiki/Sprite_(computer_graphics) and it is supposed to be on the moon, therefore the acceleration is not the one you might take for granted due to earth-sized earth we are used to. On the moon a jumping object will jump might longer and higher. | |
Jul 26, 2018 at 5:10 | comment | added | Ankit Soni |
May I ask why did you name your class as MoonSprite because if EnemyTank is extending a class, I would suppose it would have extended MovableObject or Tank class. I'm unable to relate MoonSprite and EnemyTank just by names.
|
|
Jul 26, 2018 at 2:26 | history | asked | Niklas Rosencrantz | CC BY-SA 4.0 |