Пример #1
0
 public GameSettings(TileType tileType, float tileSize, PlayerChipType playerChipType, float playerChipRadius)
 {
     TileType         = tileType;
     TileSize         = tileSize;
     PlayerChipType   = playerChipType;
     PlayerChipRadius = playerChipRadius;
 }
Пример #2
0
 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}");
     }
 }