Add more documentation
This commit is contained in:
parent
aa52a5fbc7
commit
3e07e20f72
@ -7,8 +7,10 @@ import raylib;
|
||||
// The base class for all mobs
|
||||
abstract class Mob : Entity {
|
||||
|
||||
// All Mobs must have health
|
||||
private float health;
|
||||
|
||||
// All mobs must implement these methods
|
||||
abstract void onSpawn();
|
||||
abstract void onTick(double delta);
|
||||
abstract void onHurt();
|
||||
|
Loading…
x
Reference in New Issue
Block a user