Visual class constructor for the map-objects.
{EngineView} the engine instance that the map-object sits in, required
{number} type-id of the object as defined in the JSON file
{number} animation speed for the animated visuals, default 0.5
Number of tiles that map-object covers horizontally on the isometric map
Current direction of the object.
Interaction offset points for the active visual.
Defines if the object is a floor object or not
Defines if the map-object is interactive/selectable.
Defines if the map-object is movable onto by other map-objects.
Position of the object in terms of column and row index.
If true doesn't allow transparency change on this object
Number of tiles that map-object covers vertically on the isometric map
Type-id of the map-object as defined in the json file.
Function InternalChanges the map-object's texture(s) according to the specified visual-id.
{string} visual-id
{boolean} if true stops on the first frame after changing the visuals, default false
{boolean} if true the animation will not loop after the first run, default false
{Function} callback function to call if 'noLoop' is true after the first run of the animation, default null
{number} animation speed for the animated visuals, stays the same if not defined, default null
true if the visual-id was valid and the visual has changed without errors
FunctionChanges the map-object's texture(s) according to the specified direction-id and the state of the map-object (moving or stationary).
{TDirection} direction-id as defined in TRAVISO.DIRECTIONS
{boolean} if the requested visuals are for moving or stationary state, default false
{boolean} if true stops on the first frame after changing the visuals, default false
{boolean} if true the animation will not loop after the first run, default false
{Function} callback function to call if 'noLoop' is true after the first run of the animation, default null
{number} animation speed for the animated visuals, stays the same if not defined, default null
Visual class for the map-objects.
ObjectView