Exemplo n.º 1
0
 public void ChangeMoveDirection(SphereMoveDirection moveDirection)
 {
     MoveDirection = moveDirection;
 }
Exemplo n.º 2
0
 public Sphere(SphereId sphereId)
 {
     SphereId      = sphereId ?? throw new ArgumentNullException();
     MoveDirection = new SphereMoveDirection(Vector2.zero);
     Acceleration  = new SphereAcceleration(InitialAcceleration);
 }