Constructor
new SceneryObject(x, y, width, height, map, ca, dontCloneMap, dt, tw, th, mr, mc)
Constructs a new SceneryObject
Parameters:
Name | Type | Description |
---|---|---|
x |
Number | |
y |
Number | |
width |
Number | |
height |
Number | |
map |
Array | |
ca |
CanvasAnimation | |
dontCloneMap |
Object | |
dt |
Number | Default is TimeKeeper._sae |
tw |
Number | tile height |
th |
Number | tile width |
mr |
Number | map rows |
mc |
Number | map columns |