public ValidationResult ValidateAttack(ClientGameState currentState, InteractionAttack attackInteraction) { //TODO: implement validation return(new ValidationResult() { IsOk = true }); }
public void ProcessAttack(ServerGameState fullState, InteractionAttack interactionAttack) { var newEvent = new EventCharacterAttacks() { Attacker = interactionAttack.Attacker, Attacked = interactionAttack.Target }; eventProcessor.ProcessEvent(fullState, newEvent); }