Examples of attackFromBullet()


Examples of com.flansmod.common.driveables.EntityDriveable.attackFromBullet()

       
        //If this bullet is within the driveable's detection range
        if(getDistanceToEntity(driveable) <= driveable.getDriveableType().bulletDetectionRadius + speed)
        {
          //Raytrace the bullet
          ArrayList<BulletHit> driveableHits = driveable.attackFromBullet(origin, motion);
          hits.addAll(driveableHits);
        }
      }
      //Get players
      else if(obj instanceof EntityPlayer)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.