Esempio n. 1
0
 public MyArcherPortrait(Vector2 offset, int characterIndex, TowerFall.ArcherData.ArcherTypes altSelect, bool showTitle)
     : base(offset, characterIndex, altSelect, showTitle)
 {
     this.portrait.Zoom = 0.6f;
     this.portraitAlt.Zoom = 0.6f;
     this.flash.Zoom = 0.6f;
 }
Esempio n. 2
0
 public MyLevel(TowerFall.Session session, XmlElement xml)
     : base(session, xml)
 {
     this.controllerAttachedFlags = new bool[8];
     for (int i = 0; i < 8; i++)
     {
         this.controllerAttachedFlags[i] = true;
     }
 }
Esempio n. 3
0
 public MyMatchSettings(TowerFall.LevelSystem levelSystem, TowerFall.Modes mode, MatchLengths matchLength)
     : base(levelSystem, mode, matchLength)
 {
     this.LevelSystem = levelSystem;
     this.Mode = mode;
     this.MatchLength = matchLength;
     this.Teams = new MatchTeams(Allegiance.Neutral);
     this.Variants = new MatchVariants(false);
 }
Esempio n. 4
0
 public MyTreasureSpawner(TowerFall.Session session, int[] mask, float arrowChance, bool arrowShuffle)
     : base(session, mask, arrowChance, arrowShuffle)
 {
 }
Esempio n. 5
0
 public MyPauseMenu(TowerFall.Level level, Vector2 position, MenuType menuType, int controllerDisconnected = -1)
     : base(level, position, menuType, controllerDisconnected)
 {
 }
Esempio n. 6
0
 public MyVariantToggle(TowerFall.Variant variant, bool canActivate)
     : base(variant, canActivate)
 {
 }
Esempio n. 7
0
 void Start()
 {
     thePlayer = GameManager.Instance.GetPlayer();
     tFall     = GameObject.FindObjectOfType <TowerFall>();
 }