package com.lloydm.geosword;

import com.threed.jpct.Matrix;
import com.threed.jpct.Object3D;
import com.threed.jpct.SimpleVector;

public class LaserBeam
     public final static int DEFAULTLIFE = 30;
     public Object3D mesh;

     // need another mesh for the beam.....unfortunately.....and I'm still not
     // entirely happy with the method.....
     // the length of this is 2200 units in length......
     public Object3D beammesh;

     public float scale = 1.0f;

     public int lifetime; // time before it disappears.....

     public SimpleVector movement = null;
     public Matrix wmatrix = null;
     public Matrix wmatrixB = null;
     public Matrix rmatrix = null;
     public Matrix rmatrixB = null;

     public int targetindex;
     public int team;

     public float maxvel;

     public int owningshipid;
     public int owninghardpointid;
     public int owningshipteam;
     public int targetshipid;
     public boolean isguided;
     public boolean ismissile;
     public float guidedturnrate;
     public boolean isbeam;

     // public MyVertexController vctrl;

     // public com.threed.jpct.Mesh lmesh;

     public LaserBeam()
                     lifetime = DEFAULTLIFE;