public void Move() { var cordsToMove = TrigonometryHelper.MoveByIntoDirection(8, Angle); this._coordinates.x += cordsToMove.x; this._coordinates.y += cordsToMove.y; }
public void MoveForwards() { var speedToAdd = TrigonometryHelper.MoveByIntoDirection(0.1f, Angle); this.speedX += speedToAdd.x; this.speedY += speedToAdd.y; }