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