// ReSharper disable once UnusedMember.Local private void OnEnable() { if (!Application.isPlaying) { return; } _repository = new PlaygroundRepository(); InitializeView(); _controller = new PlaygroundController(this, _repository, this); }
static void Main(string[] args) { var app = new PlaygroundController(); var vasia = new HumanPlayer { Name = "Pidor ", PlayerGuid = Guid.NewGuid() }; var petya = new HumanPlayer { Name = "Hui ", PlayerGuid = Guid.NewGuid() }; var table = new DefaultTable { TableGuid = Guid.NewGuid(), TableName = "Table nahui " }; app.AddTable(table); app.AddPlayerToTable(table.TableGuid, vasia); app.AddPlayerToTable(table.TableGuid, petya); app.StartTableGame(table.TableGuid); Console.ReadKey(); }
public StageControllerRoundResult(IExecutor executor, PlaygroundController controller) : base(executor, controller) { }
public StageControllerCounterChange(IExecutor executor, PlaygroundController controller) : base(executor, controller) { }
public StageControllerWaitForRound(IExecutor executor, PlaygroundController controller) : base(executor, controller) { }
protected StageControllerBase(IExecutor executor, PlaygroundController controller) { _executor = executor; Controller = controller; }
public StageControllerFoeSelect(IExecutor executor, PlaygroundController controller) : base(executor, controller) { }