示例#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);
 }