public static CellToVector ( |
||
position | ||
return |
public void ChangePosition(Point p) { _cellPosition = p; Position = Engine.CellToVector(CellPosition); }
public void ChangePosition(int x, int y) { _cellPosition.X = x; _cellPosition.Y = y; Position = Engine.CellToVector(CellPosition); }
protected BaseEntity(Point cellPosition) : this() { _cellPosition = cellPosition; Position = Engine.CellToVector(CellPosition); }