Method | Description | |
---|---|---|
ConvertToGraphicalBlock ( ) : |
Converts a particular block into a graphical block
|
|
ConvertToGraphicalBlock ( GlobalOverlay overlay ) : |
||
ForcePutItemOnBlock ( |
Puts a local map item int he current block. Whether the tile lets it or not.
|
|
GetActions ( |
Gets the actions which can be performed on this Block
|
|
GetItems ( ) : DRObjects.MapItem[] |
Gets all items. This includes inactive ones - you might want to check that
|
|
GetTopItem ( ) : |
Gets the top Item in the block. Could either be a tile, or it could be the top item
|
|
GetTopMapItem ( ) : |
Gets the top mapitem in the stack, or null if there is no item. It will check if the map item is active or not before showing it.
|
|
MapBlock ( ) : System | ||
PerformAction ( ActionType actionType, |
||
PutItemOnBlock ( |
Adds a local map item in the current block.
|
|
PutItemUnderneathOnBlock ( |
Puts a local map item in the current block. Whether the tile lets it or not. Will put it in second place (underneath the top item)
|
|
RemoveAllItems ( ) : void |
Removes all items from the MapBlock. THIS INCLUDES THE ONES WHICH ARE INACTIVE
|
|
RemoveItem ( |
Removes a particular item in the block
|
|
RemoveItemAt ( int index ) : void |
Removes the Nth item in the block
|
|
RemoveTopItem ( ) : void |
Removes the top item. If it is empty - do nothing
|
|
ToString ( ) : string |
public ConvertToGraphicalBlock ( ) : |
||
return |
public ConvertToGraphicalBlock ( GlobalOverlay overlay ) : |
||
overlay | GlobalOverlay | |
return |
public ForcePutItemOnBlock ( |
||
item | ||
return | void |
public GetActions ( |
||
actor | ||
return | ActionType[] |
public PerformAction ( ActionType actionType, |
||
actionType | ActionType | |
actor | ||
args | object | |
return | ActionFeedback[] |
public PutItemOnBlock ( |
||
item | ||
return | ActionFeedback[] |
public PutItemUnderneathOnBlock ( |
||
item | ||
return | void |