public EnemyShip(Ship player, Vector3 pos, TgcMesh mesh, Canion canion) : base(pos, mesh, canion) { nombre = "ENEMIGO"; this.player = player; anguloRotacion = FastMath.PI / 2; iniciarBarra(); }
public MainCamera(Ship newShip) { this.ship = newShip; camera = GuiController.Instance.ThirdPersonCamera; camera.Enable = true; wheelPos = input.WheelPos; objetive = ship.mesh.Position; //Configurar centro al que se mira y distancia desde la que se mira camera.setCamera(objetive, ALTURA, DISTANCIA); }
private void setShip(Ship newShip) { this.ship = newShip; }