Exemple #1
0
 public void RemoveObject(NatureObject obj) => ReplaceObject(obj, null);
Exemple #2
0
 public abstract bool AddObject(NatureObject obj);
Exemple #3
0
 public abstract bool ReplaceObject(NatureObject o0, NatureObject o1);
Exemple #4
0
 protected void changeObjectCoors(NatureObject obj, int newX, int newY)
 {
     obj.px = newX; obj.py = newY;
 }