This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
component:agent [2019/09/07 07:46] wischi drain and fill were missing the side argument. |
component:agent [2021/12/01 06:45] (current) ocawesome101 clarify documentation under `move()` regarding sides. |
||
---|---|---|---|
Line 85: | Line 85: | ||
Get the durability of the currently equipped tool. | Get the durability of the currently equipped tool. | ||
- `move(direction:number):boolean` | - `move(direction:number):boolean` | ||
- | Move in the specified direction. Valid movement sides are: front, back, top, bottom. | + | Move in the specified direction. Valid movement sides are: front, back, top, bottom (see [[api:sides|Sides]]). |
- `turn(clockwise:boolean):boolean` | - `turn(clockwise:boolean):boolean` | ||
Rotate in the specified direction. | Rotate in the specified direction. |