import Container from 'WTF-Adventure/WTF-Adventure/client/interface/container/container.js'
Container
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
getEmptySlot(): * |
|
public |
getImageFormat(scale: *, name: *): string |
|
public |
setSlot(index: *, info: *) We receive information from the server here, so we mustn't do any calculations. Instead, we just modify the container directly. |
Public Constructors
public constructor() source
Public Methods
public getImageFormat(scale: *, name: *): string source
Params:
Name | Type | Attribute | Description |
scale | * | ||
name | * |
public setSlot(index: *, info: *) source
We receive information from the server here, so we mustn't do any calculations. Instead, we just modify the container directly.
Params:
Name | Type | Attribute | Description |
index | * | ||
info | * |