Package com.flansmod.common.driveables

Source Code of com.flansmod.common.driveables.PilotGun

package com.flansmod.common.driveables;

import com.flansmod.common.guns.GunType;
import com.flansmod.common.vector.Vector3f;

public class PilotGun extends DriveablePosition
{
  /** The gun type used by this pilot gun */
  public GunType type;
 
  public PilotGun(String[] split)
  {
    super(new Vector3f(Float.parseFloat(split[1]) / 16F, Float.parseFloat(split[2]) / 16F, Float.parseFloat(split[3]) / 16F), EnumDriveablePart.getPart(split[4]));
    type = GunType.getGun(split[5]);
  }
}
TOP

Related Classes of com.flansmod.common.driveables.PilotGun

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.