public GameSettings(TileType tileType, float tileSize, PlayerChipType playerChipType, float playerChipRadius) { TileType = tileType; TileSize = tileSize; PlayerChipType = playerChipType; PlayerChipRadius = playerChipRadius; }
private void InstallPlayerChipCoordinateProcessor(PlayerChipType playerChipType, float playerChipRadius) { switch (playerChipType) { case PlayerChipType.Circle: Container.BindInterfacesTo<PlayerBallCoordinateProcessor>().AsSingle().WithArguments(playerChipRadius); break; default: throw new Exception($"[ModelInstaller.InstallPlayerChipCoordinateProcessor] unhandled TileType : {playerChipType}"); } }