Constructor
new SceneryObjectBlittedTraveler(source, canvasObject, fromRect, x, y, width, height)
Parameters:
Name | Type | Description |
---|---|---|
source |
||
canvasObject |
||
fromRect |
||
x |
||
y |
||
width |
||
height |
Members
constructor
playerHoldingThis
Used to reference the player Class instance that is holding this SceneryObjectBlittedTraveler
tileValue
Optional tile value of the SceneryObjectBlittedTraveler, would be the value in whatever map this SceneryObjectBlittedTraveler came from.
weight
The optional weight of the SceneryObjectBlittedTraveler
xDirection
Optional horizontal direction of the SceneryObjectBlittedTraveler