Exemple #1
0
    //acceleration or power/weight
    //turn rates
    //any other parts that aren't in cubes

    public Ship()
    {
        name           = null;
        ships          = null;
        sector         = new Sector();
        sectorPosition = new SectorPosition();
        ObjectVelocity velocity = new ObjectVelocity();
        List <Tile>    tiles    = new List <Tile>();
    }
Exemple #2
0
 //acceleration or power/weight
 //turn rates
 //any other parts that aren't in cubes
 public Ship()
 {
     name = null;
     ships = null;
     sector = new Sector();
     sectorPosition = new SectorPosition();
     ObjectVelocity velocity = new ObjectVelocity();
     List<Tile> tiles = new List<Tile>();
 }
Exemple #3
0
 public Player(GameObject playerObject)
 {
     this.playerObject = playerObject;
     sector = new Sector();
     sectorPosition = new SectorPosition();
     Vector3 angle = new Vector3(0,0,0);
     ObjectVelocity velocity = new ObjectVelocity();
      	Vector3 angularVelocity = new Vector3(0,0,0);
     updateScriptRef();
 }
Exemple #4
0
    public Player(GameObject playerObject)
    {
        this.playerObject = playerObject;
        sector            = new Sector();
        sectorPosition    = new SectorPosition();
        Vector3        angle           = new Vector3(0, 0, 0);
        ObjectVelocity velocity        = new ObjectVelocity();
        Vector3        angularVelocity = new Vector3(0, 0, 0);

        updateScriptRef();
    }