public virtual void Move(int x, int y) { //Debug.Log("Entity " + _id + " Move to " + x + ", " + y); _x = x; _y = y; if (_pos != null) { _pos.SetEntity(null); } _pos = World.GetInstance().GetGrid().GetCell(x, y); _pos.SetEntity(this); }