Beispiel #1
0
        public BattleAction(BattleUnit actor, ActionDefinition actiondef)
        {
            this.actor     = actor;
            this.actiondef = actiondef;
            CTR            = BattleQueue.calculateCTR(100, actiondef.speed);
            Priority       = 2;
            ID             = GameBattle.generateID();

            //rangeBrush = new SolidBrush(Color.FromArgb(255, 255, 0, 0));
            spreadBrush = new SolidBrush(Color.FromArgb(255, 0, 255, 0));
        }