Esempio n. 1
0
 public RelationshipRequirement(DeathmatchContext Context)
     : base("Relationship Requirement", Context)
 {
     _DistanceToEnemy  = 0;
     _IncludeDiagonals = false;
     _CharacterName    = "";
 }
Esempio n. 2
0
        public DeathmatchMap(DeathmatchContext GlobalBattleContext)
            : base()
        {
            this.GlobalBattleContext    = GlobalDeathmatchContext = GlobalBattleContext;
            GlobalDeathmatchContext.Map = this;

            GameRule             = new SinglePlayerGameRule(this);
            ListActionMenuChoice = new ActionPanelHolderDeathmatch(this);
            ActiveParser         = new DeathmatchFormulaParser(this);
            ActivePlayerIndex    = 0;
            ListPlayer           = new List <Player>();
            ListLocalPlayerInfo  = new List <Player>();
            RequireFocus         = false;
            RequireDrawFocus     = true;
            Pathfinder           = new MovementAlgorithmDeathmatch(this);
            ListDelayedAttack    = new List <DelayedAttack>();
            ListPERAttack        = new List <PERAttack>();
            ListTerrainType      = new List <string>();
            ListTerrainType.Add(UnitStats.TerrainAir);
            ListTerrainType.Add(UnitStats.TerrainLand);
            ListTerrainType.Add(UnitStats.TerrainSea);
            ListTerrainType.Add(UnitStats.TerrainSpace);
            ListTerrainType.Add(UnitStats.TerrainWall);
            ListTerrainType.Add(UnitStats.TerrainVoid);
        }
Esempio n. 3
0
        public DeathmatchMap(DeathmatchContext GlobalBattleContext)
            : base()
        {
            this.GlobalBattleContext    = GlobalDeathmatchContext = GlobalBattleContext;
            GlobalDeathmatchContext.Map = this;

            FormulaParser.ActiveParser = new DeathmatchFormulaParser(this);
            ActivePlayerIndex          = 0;
            ListPlayer        = new List <Player>();
            RequireDrawFocus  = true;
            Pathfinder        = new MovementAlgorithmDeathmatch(this);
            ListDelayedAttack = new List <DelayedAttack>();
            ListLayer         = new List <MapLayer>();
            ListTerrainType   = new List <string>();
            ListTerrainType.Add("Air");
            ListTerrainType.Add("Land");
            ListTerrainType.Add("Sea");
            ListTerrainType.Add("Space");
        }
Esempio n. 4
0
 public BattleStartRequirement(DeathmatchContext Context)
     : base(BattleStartRequirementName, Context)
 {
 }
Esempio n. 5
0
 public AfterAttackRequirement(DeathmatchContext Context)
     : base(AfterAttackRequirementName, Context)
 {
 }
Esempio n. 6
0
 public WithinAttackRangeRequirement(DeathmatchContext Context)
     : base(WithinAttackRangeRequirementName, Context)
 {
 }
Esempio n. 7
0
 public EffectActivationSquad(DeathmatchContext GlobalContext)
     : base(Name, GlobalContext)
 {
 }
Esempio n. 8
0
 public AfterGettingAttackedRequirement(DeathmatchContext Context)
     : base(AfterGettingAttackedRequirementName, Context)
 {
 }
 public SupportDefendRequirement(DeathmatchContext Context)
     : base(SupportDefendRequirementName, Context)
 {
 }
Esempio n. 10
0
 public AfterGettingDestroyRequirement(DeathmatchContext Context)
     : base(AfterGettingDestroyRequirementName, Context)
 {
 }
 public DeathmatchParams(DeathmatchContext GlobalContext)
 {
     this.GlobalContext = GlobalContext;
     LocalContext       = new DeathmatchContext();
 }
Esempio n. 12
0
 public BeforeHitRequirement(DeathmatchContext Context)
     : base(BeforeHitRequirementName, Context)
 {
 }
Esempio n. 13
0
 public AutomaticDeathmatchTargetType(string TargetType, DeathmatchContext GlobalContext)
     : base(TargetType)
 {
     this.GlobalContext = GlobalContext;
 }
Esempio n. 14
0
 public AttackUsedRequirement(DeathmatchContext Context)
     : base(AttackUsedRequirementName, Context)
 {
 }
Esempio n. 15
0
 public EffectActivationAuraEnemy(DeathmatchContext GlobalContext)
     : base(Name, GlobalContext)
 {
 }
Esempio n. 16
0
 public SupportAttackRequirement(DeathmatchContext Context)
     : base(SupportAttackRequirementName, Context)
 {
 }
Esempio n. 17
0
 public VSUnderwaterUnitRequirement(DeathmatchContext Context)
     : base(VSUnderwaterUnitRequirementName, Context)
 {
 }
Esempio n. 18
0
 public VSFlyingUnitRequirement(DeathmatchContext Context)
     : base(VSFlyingUnitRequirementName, Context)
 {
 }
Esempio n. 19
0
 public EffectActivationAllAllies(DeathmatchContext GlobalContext)
     : base(Name, GlobalContext)
 {
 }
 public DeathmatchSkillRequirement(string SkillRequirementName, DeathmatchContext Context)
     : base(SkillRequirementName)
 {
     this.Context = Context;
 }
 public BeforeGettingAttackedRequirement(DeathmatchContext Context)
     : base(BeforeGettingAttackedRequirementName, Context)
 {
 }
Esempio n. 22
0
 public VSPilotRequirement(DeathmatchContext Context)
     : base(VSPilotRequirementName, Context)
 {
 }
 public BeforeGettingDestroyedRequirement(DeathmatchContext Context)
     : base(BeforeGettingDestroyedRequirementName, Context)
 {
 }
 public DistanceToEnemyRequirement(DeathmatchContext Context)
     : base("Distance To Enemy Requirement", Context)
 {
 }