public CollisionPair(CollisionPlayer collider, CollisionPlayer otherPlayer) { CollisionType = CollisionType.Player; Collider = collider; OtherPlayer = otherPlayer; }
public CollisionPair(CollisionPlayer collider, CollisionBullet bullet) { CollisionType = CollisionType.Bullet; Collider = collider; Bullet = bullet; }
public void Add(CollisionPlayer collisionPlayer) { players.Add(collisionPlayer); }