private void CreateTestEnemyAt(Vector2 position) { RequestsService.CreateRequestEntity() .AddGenerateCharacterRequest( position, Faction.Enemy, CharacterType.knight ); }
private void CreateTestPlayerAt(Vector2 position) { RequestsService.CreateRequestEntity() .AddGenerateCharacterRequest( position, Faction.Player, CharacterType.goblin ); }
protected override void Execute(List <InputEntity> entities) { foreach (InputEntity entity in entities) { RequestsService.CreateRequestEntity() .AddEnergyRequireingRequest( () => CreateBeacon(entity), null, gameContext.gameStateEntity.beaconCost.Value ); } }
private void SetDefaultsToGameSettings() { BeaconAction currentBeaconAction = gameContext.settingsEntity.globalSettings.Value.DefaultBeaconAction; RequestsService.CreateRequestEntity().AddSwitchBeaconActionRequest(currentBeaconAction); }
public void Execute() { RequestsService.CreateRequestEntity().AddSwitchBeaconActionRequest(Action); }