コード例 #1
0
 public CollisionPair(CollisionPlayer collider, CollisionPlayer otherPlayer)
 {
     CollisionType = CollisionType.Player;
     Collider      = collider;
     OtherPlayer   = otherPlayer;
 }
コード例 #2
0
 public CollisionPair(CollisionPlayer collider, CollisionBullet bullet)
 {
     CollisionType = CollisionType.Bullet;
     Collider      = collider;
     Bullet        = bullet;
 }
コード例 #3
0
 public void Add(CollisionPlayer collisionPlayer)
 {
     players.Add(collisionPlayer);
 }