Пример #1
0
 public Collision GetCollision(ICollider collider, float deltaTime)
 {
     if (collider is LineData || collider is BlockData || collider is BonusData)
     {
         return(collider.GetCollision(this, deltaTime));
     }
     return(null);
 }