public HealthChanged(GameDefines.Side side, float value, float diff, bool isHeal)
 {
     this.type   = EBEventType.HealthChanged;
     this.side   = side;
     this.value  = value;
     this.diff   = diff;
     this.isHeal = isHeal;
 }
    public CharacterState GetCharacterState(GameDefines.Side side)
    {
        switch (side)
        {
        case GameDefines.Side.Blue:
            return(blueSoldierState);

        case GameDefines.Side.Red:
            return(redSoldierState);

        default:
            return(null);
        }
    }
 public HealthPackCollected(GameDefines.Side side)
 {
     this.type = EBEventType.HealthPackCollected;
     this.side = side;
 }
Exemple #4
0
 public ControllerInited(GameDefines.Side side, GameDefines.ControllerType controllerType)
 {
     this.type           = EBEventType.ControllerInited;
     this.side           = side;
     this.controllerType = controllerType;
 }
Exemple #5
0
 public NewFrame(GameDefines.Side side, float frameTime)
 {
     this.type      = EBEventType.NewFrame;
     this.side      = side;
     this.frameTime = frameTime;
 }