Package javara.world.goodies

Examples of javara.world.goodies.GrenadeGoody


        String type = attrs.getValue("type");
        Vector3f center = (attrs.getValue("center") != null) ? parseVector(attrs.getValue("center")) : new Vector3f(0.0f, 0.0f, 0.0f);
        float respawn = attrs.getValue("respawn") != null ? Float.parseFloat(attrs.getValue("respawn")) : 10.0f;

        if (type.equalsIgnoreCase("grenade")) {
          GrenadeGoody g = new GrenadeGoody(world, center, respawn);
          world.addWorldObject(g);
        }
      }
    }
View Full Code Here

TOP

Related Classes of javara.world.goodies.GrenadeGoody

Copyright © 2018 www.massapicom. 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.