public override void Update() { PreviousCellPosition = CellPosition; CellPosition = Engine.VectorToCell(Position, Dimension); base.Update(); }
public void ChangePosition(float x, float y) { _position.X = x; _position.Y = y; _cellPosition = Engine.VectorToCell(Position); }