LiteViewParts beta
Interface of @v12-engine/client
export interface LiteViewPartsWhat a game's view says for the renderer beside its looks: under lite of the GameView (liteView(view, { … })), laid over what the view says of the same (GameView.units.looks, renderers, ground.cellLayers, world.weather's code, world.sky, replace)
Members
layers
layers?: Record<string, LiteLayerFactories>;What each layer of cells is drawn with, by its id (foliage, groundPaint): over the view's ground.cellLayers
renderers
renderers?: readonly LiteRendererFactory[];What the game draws by itself (LiteRendererFactory), after the view's renderers: each made from the kit once the world stands
replace
replace?: LiteReplace;What the game draws in the place of the client's own, or null where it takes one away (lite/client/replaced.ts); over what GameView.replace says
sky
sky?: LiteSkyFactory;A sky of the game's own in code, in the place of the client's dome: over the view's (GameView.world.sky)
visuals
visuals?: Record<string, UnitVisual | undefined>;What each unit type looks like as the renderer draws it (UnitVisual), by its id: the view's units.looks when left out
weather
weather?: Record<string, LiteWeatherFactory>;Weather of the game's own in code by kind, over the view's (GameView.world.weather): made as its kind falls, told how much of it there is