Свойство | Тип | Описание | |
---|---|---|---|
TreatBorderAsSolid | bool | ||
TreatCenterVariantsAsSpecial | bool | ||
TreatFloorVariantsAsSpecial | bool | ||
TreatSpecialAsSolid | bool |
Свойство | Тип | Описание | |
---|---|---|---|
_mapDimensions | Vector2 | ||
_numberOfMapLayers | int |
Метод | Описание | |
---|---|---|
BuildIndexSpriteMap ( ) : void |
this extensive method is used to fill a map with references to the
|
|
RebuildLayerInfo ( ) : void |
This method is used by the editor to check and rebuild the layer dictionary.
|
|
RebuildTiles ( ) : void |
This method triggers the rebuild process.
|
|
SetTile ( int bitmask, int x, int y, int l ) : void |
This method is used for acually setting the file sprites depending on the bitmask value
|
|
Start ( ) : void |
Метод | Описание | |
---|---|---|
CommitTile ( int x, int y, int l, int value ) : void |
This method needs to be implemented by child classes to actually commit the tile to the target framework.
|
|
GetDimensions ( ) : Vector2 |
Child classes must implement this method to check for and store the map dimensions of the target framework.
|
|
GetTileValueFromFramwork ( int x, int y, int l ) : int |
Child classes must implement this method to retrieve the value of a tile from the target framwork
|
|
RebuildFramework ( ) : void |
Child classes must implement this method to trigger a update in the target framework after the data has been written.
|
|
UpdateFrameworkReferences ( ) : bool |
This method needs to be implemented by child classes to update all necessary references to the
|
|
UpdateNumberOfLayers ( ) : void |
This method need to be implemented by child classes to get the number of available tilemap layers from the target framework
|
Метод | Описание | |
---|---|---|
CalculateBitmask ( int x, int y, int l ) : int |
This method will calculate a bitmask value.
|
|
GetTileState ( int x, int y, int l ) : int |
This method checks the state of a single tile.
|
|
SpriteIdIsSpecialTile ( int id ) : bool |
This method checks if the conditions for a floor-tile or
|
protected abstract CommitTile ( int x, int y, int l, int value ) : void | ||
x | int | |
y | int | |
l | int | |
value | int | |
Результат | void |
protected abstract GetDimensions ( ) : Vector2 | ||
Результат | Vector2 |
protected abstract GetTileValueFromFramwork ( int x, int y, int l ) : int | ||
x | int | |
y | int | |
l | int | |
Результат | int |
protected abstract RebuildFramework ( ) : void | ||
Результат | void |
public SetTile ( int bitmask, int x, int y, int l ) : void | ||
bitmask | int | |
x | int | |
y | int | |
l | int | |
Результат | void |
protected abstract UpdateFrameworkReferences ( ) : bool | ||
Результат | bool |
protected abstract UpdateNumberOfLayers ( ) : void | ||
Результат | void |
public bool TreatCenterVariantsAsSpecial | ||
Результат | bool |
public bool TreatFloorVariantsAsSpecial | ||
Результат | bool |