import {StaticMapEntitySystem} from 'shapez.io/js/game/systems/static_map_entity.js'StaticMapEntitySystem
Extends:
Constructor Summary
| Public Constructor | ||
| public |
|
|
Method Summary
| Public Methods | ||
| public |
Clears the uid list when a new frame started |
|
| public |
drawChunk_ForegroundLayer(parameters: DrawParameters, chunk: MapChunkView, layer: string) Draws the static wire entities |
|
| public |
drawChunk_ForegroundStaticLayer(parameters: DrawParameters, chunk: MapChunkView) Draws the static entities |
|
| public |
drawChunk_WiresForegroundLayer(parameters: DrawParameters, chunk: MapChunkView) Draws the static wire entities |
|
Inherited Summary
| From class GameSystem | ||
| public static |
Returns static id |
|
| public |
root: * |
|
| public |
draw(parameters: DrawParameters) Override, do not call this directly, use startDraw() |
|
| public |
Should refresh all caches |
|
| public |
startDraw(parameters: DrawParameters) |
|
| public |
update() Updates the game system, override to perform logic |
|
Static Public Methods
Public Constructors
Public Methods
public drawChunk_ForegroundLayer(parameters: DrawParameters, chunk: MapChunkView, layer: string) source
Draws the static wire entities
Params:
| Name | Type | Attribute | Description |
| parameters | DrawParameters | ||
| chunk | MapChunkView | ||
| layer | string |
public drawChunk_ForegroundStaticLayer(parameters: DrawParameters, chunk: MapChunkView) source
Draws the static entities
Params:
| Name | Type | Attribute | Description |
| parameters | DrawParameters | ||
| chunk | MapChunkView |
public drawChunk_WiresForegroundLayer(parameters: DrawParameters, chunk: MapChunkView) source
Draws the static wire entities
Params:
| Name | Type | Attribute | Description |
| parameters | DrawParameters | ||
| chunk | MapChunkView |
