new Mobile(sokoban, position, animation, isAvatar)
- Description:
Pour les objets mobilesCoords
- Source:
Parameters:
Name | Type | Description |
---|---|---|
sokoban |
Sokoban | |
position |
ImagePosition | |
animation |
AnimationOptions | |
isAvatar |
boolean |
Methods
deplacer(direction, sokoban) → {boolean}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
direction |
||
sokoban |
Sokoban |
Returns:
- Type
- boolean