public HitHandler(IFishStage _Stage, HitRequest request) { this._Stage = _Stage; _Request = request; _Enable = true; _TimeCounter = new TimeCounter(); }
private void _ToPlayStage(IFishStage fish_stage) { var stage = new PlayStage(_Binder, fish_stage, _GamePlayerRecord); stage.PassEvent += _Pass; stage.KillEvent += _Kill; _Machine.Push(stage); }
public PlayStage(ISoulBinder binder, IFishStage fish_stage, GamePlayerRecord money) { _Fishs = new List<Fish>(); _Bullets = new List<Bullet>(); _Requests = new Dictionary<int, HitRequest>(); _Binder = binder; _FishStage = fish_stage; _DeadFishCount = 0; _Money = money; _WeaponType = WEAPON_TYPE.NORMAL; _WeaponBet = 10; }
public PlayStage(ISoulBinder binder, IFishStage fish_stage, GamePlayerRecord money) { _Fishs = new List <Fish>(); _Bullets = new List <Bullet>(); _Requests = new Dictionary <int, HitRequest>(); _Binder = binder; _FishStage = fish_stage; _DeadFishCount = 0; _Money = money; _WeaponType = WEAPON_TYPE.NORMAL; _WeaponBet = 10; }
private void _Stage(IFishStage obj) { DoneEvent(obj); }
private void _ToPlay(IFishStage fish_stage) { var stage = new BotPlayStage(fish_stage); stage.DoneEvent += _ToConnect; _Machine.Push(stage); }
public BotPlayStage(IFishStage fish_stage) { _HitHandlers = new Updater(); _HitTime = new TimeCounter(); _Stage = fish_stage; }
public HitRequestConverter(IFishStage gpi) { _Gpi = gpi; }