Exemple #1
0
        protected static bool CheckHit(FHitZone zone)
        {
            bool result = false;

            switch (zone.SharpType)
            {
            case HitSharpType.Cube:
                result = HitCube(zone);
                break;

            case HitSharpType.Sphere:
                result = HitSphere(zone);
                break;

            case HitSharpType.Cylinder:
                result = HitCylinder(zone);
                break;

            default:
                break;
            }
            return(result);
        }
Exemple #2
0
 protected static bool HitSphere(FHitZone zone)
 {
     return(false);
 }
Exemple #3
0
 protected static bool HitCylinder(FHitZone zone)
 {
     return(false);
 }
Exemple #4
0
 protected static bool HitCube(FHitZone zone)
 {
     return(false);
 }