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