Exemplo n.º 1
0
 public static unitstate get(int i)
 {
     if (!_unitstate.ContainsKey(i))
     {
         _unitstate[i] = new unitstate();
     }
     return(_unitstate[i]);
 }
Exemplo n.º 2
0
 public static void SetUnitState(unit whichUnit, unitstate whichUnitState, real newVal)
 {
 }
        public static @event TriggerRegisterUnitStateEvent(trigger whichTrigger, unit whichUnit, unitstate whichState, limitop opcode, real limitval)
        {
            @event triEvent = new @event()
            {
                sourceUnit = whichUnit, unitStateEvent = opcode
            };

            whichTrigger.events.Add(triEvent);
            return(triEvent);
        }
Exemplo n.º 4
0
 public static real GetUnitState(unit whichUnit, unitstate whichUnitState)
 {
     throw new NotImplementedException();
 }