public BattleEventProcessor(IGUIService guiService, IBattleGraphicController graphicService, IEventQueue queue, IEventCreator events) { this.guiService = guiService; this.graphicService = graphicService; this.queue = queue; events.CriticalDamage += CriticalDamageHandler; events.HPChanged += HPChangedHandler; events.MoveEffective += MoveEffectiveHandler; events.MoveUsed += MoveUsedHandler; events.NewTurn += NewTurnHandler; events.PokemonChanged += PokemonChangedHandler; events.StatusChanged += StatusChangedHandler; }
public SetStatusEvent(IBattleGraphicController graphic, ClientIdentifier id, StatusCondition condition) { this.graphic = graphic; this.id = id; this.condition = condition; }
public SetHPEvent(IBattleGraphicController graphic, ClientIdentifier id, int hp) { this.graphic = graphic; this.id = id; this.hp = hp; }
public SetPokemonEvent(IBattleGraphicController graphic, ClientIdentifier id, PokemonWrapper pokemon) { this.graphic = graphic; this.id = id; this.pokemon = pokemon; }