Пример #1
0
 public RelationshipRequirement(DeathmatchContext Context)
     : base("Relationship Requirement", Context)
 {
     _DistanceToEnemy  = 0;
     _IncludeDiagonals = false;
     _CharacterName    = "";
 }
Пример #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);
        }
Пример #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");
        }
Пример #4
0
 public BattleStartRequirement(DeathmatchContext Context)
     : base(BattleStartRequirementName, Context)
 {
 }
Пример #5
0
 public AfterAttackRequirement(DeathmatchContext Context)
     : base(AfterAttackRequirementName, Context)
 {
 }
Пример #6
0
 public WithinAttackRangeRequirement(DeathmatchContext Context)
     : base(WithinAttackRangeRequirementName, Context)
 {
 }
Пример #7
0
 public EffectActivationSquad(DeathmatchContext GlobalContext)
     : base(Name, GlobalContext)
 {
 }
Пример #8
0
 public AfterGettingAttackedRequirement(DeathmatchContext Context)
     : base(AfterGettingAttackedRequirementName, Context)
 {
 }
 public SupportDefendRequirement(DeathmatchContext Context)
     : base(SupportDefendRequirementName, Context)
 {
 }
Пример #10
0
 public AfterGettingDestroyRequirement(DeathmatchContext Context)
     : base(AfterGettingDestroyRequirementName, Context)
 {
 }
 public DeathmatchParams(DeathmatchContext GlobalContext)
 {
     this.GlobalContext = GlobalContext;
     LocalContext       = new DeathmatchContext();
 }
Пример #12
0
 public BeforeHitRequirement(DeathmatchContext Context)
     : base(BeforeHitRequirementName, Context)
 {
 }
Пример #13
0
 public AutomaticDeathmatchTargetType(string TargetType, DeathmatchContext GlobalContext)
     : base(TargetType)
 {
     this.GlobalContext = GlobalContext;
 }
Пример #14
0
 public AttackUsedRequirement(DeathmatchContext Context)
     : base(AttackUsedRequirementName, Context)
 {
 }
Пример #15
0
 public EffectActivationAuraEnemy(DeathmatchContext GlobalContext)
     : base(Name, GlobalContext)
 {
 }
Пример #16
0
 public SupportAttackRequirement(DeathmatchContext Context)
     : base(SupportAttackRequirementName, Context)
 {
 }
Пример #17
0
 public VSUnderwaterUnitRequirement(DeathmatchContext Context)
     : base(VSUnderwaterUnitRequirementName, Context)
 {
 }
Пример #18
0
 public VSFlyingUnitRequirement(DeathmatchContext Context)
     : base(VSFlyingUnitRequirementName, Context)
 {
 }
Пример #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)
 {
 }
Пример #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)
 {
 }