public FloorTileEntityFactory(FloorTileEntityConfig floorTileEntityConfig) { _floorTileEntityConfig = floorTileEntityConfig; _entityArchetype = EntityManager.CreateArchetype( typeof(Translation), typeof(LocalToWorld), typeof(Rotation), typeof(RenderMesh), typeof(DestroyOutOfBoundsTag)); }
public PlayerSpawningController( PlayerEntityFactory playerEntityFactory, PlayerEntityConfig playerEntityConfig, FloorTileEntityConfig floorTileEntityConfig, ScreenSizeModel screenSizeModel) { _playerEntityFactory = playerEntityFactory; _playerEntityConfig = playerEntityConfig; _floorTileEntityConfig = floorTileEntityConfig; _screenSizeModel = screenSizeModel; }
public FloorSpawningController( FloorTileEntityFactory floorTileEntityFactory, FloorTileEntityConfig floorTileEntityConfig, ScreenSizeModel screenSizeModel) { _floorTileEntityFactory = floorTileEntityFactory; _floorTileEntityConfig = floorTileEntityConfig; _screenSizeModel = screenSizeModel; _floorTileSize = _floorTileEntityConfig .EntityMesh .bounds .size; }