Conveyor sideloading
This commit is contained in:
parent
222960a824
commit
81451bd356
14 changed files with 243 additions and 17 deletions
|
@ -4,3 +4,13 @@ extends Object
|
|||
class_name Globals
|
||||
|
||||
const GRID_SIZE : Vector2 = Vector2(16,16)
|
||||
|
||||
enum Sides {
|
||||
RIGHT,
|
||||
DOWN,
|
||||
LEFT,
|
||||
UP
|
||||
}
|
||||
|
||||
static func facing_difference(from : Structure.Facing, to : Structure.Facing) -> float:
|
||||
return Structure.facing_to_vector(from).angle_to(Structure.facing_to_vector(to))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue