Beispiel #1
0
 public EndGameTrigger(TGCVector3 position, TGCVector3 size)
 {
     targets       = new List <ICueLauncher>();
     this.position = position;
     this.size     = size;
     obi_festeja   = new Cue(null, "Bitmaps\\Game_Won.png", VariablesGlobales.cues_relative_scale, VariablesGlobales.cues_relative_position, duracion);
     congrats      = new FullScreenElement("Bitmaps\\Congrats.png", SoundManager.SONIDOS.NO_SOUND, duracion);
 }
 public LostGameTrigger(ITarget target, TGCVector3 position)
 {
     juegoTerminado = new PositionAABBCueLauncher(target, position, new TGCVector3(1000, 1000, 20));
     obi_triste     = new Cue(null, "Bitmaps\\Game_Lost.png", VariablesGlobales.cues_relative_scale, VariablesGlobales.cues_relative_position, duracion);
     failed         = new FullScreenElement("Bitmaps\\Failed.png", SoundManager.SONIDOS.NO_SOUND, duracion);
 }