Merge branch 'develop' of github.com:thecodingmachine/workadventure into metadataScriptingApi
This commit is contained in:
commit
2a2cea2cd5
6 changed files with 148 additions and 11 deletions
|
@ -170,7 +170,7 @@ export interface ITiledTileSet {
|
|||
tilewidth: number;
|
||||
transparentcolor: string;
|
||||
terrains: ITiledMapTerrain[];
|
||||
tiles: {[key: string]: { terrain: number[] }};
|
||||
tiles?: Array<ITile>;
|
||||
|
||||
/**
|
||||
* Refers to external tileset file (should be JSON)
|
||||
|
@ -178,6 +178,13 @@ export interface ITiledTileSet {
|
|||
source: string;
|
||||
}
|
||||
|
||||
export interface ITile {
|
||||
id: number,
|
||||
type?: string
|
||||
|
||||
properties?: Array<ITiledMapLayerProperty>
|
||||
}
|
||||
|
||||
export interface ITiledMapTerrain {
|
||||
name: string;
|
||||
tile: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue