summaryrefslogtreecommitdiff
path: root/objects/Direction.lua
blob: 137f970b9f061a87a8799f446159a063b03a398e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Direction = {
    LEFT = 1, RIGHT = 2, TOP = 3, BOTTOM = 4, UP = 3, DOWN = 4
}

OppositeDirection = {
    [Direction.LEFT] = Direction.RIGHT,
    [Direction.RIGHT] = Direction.LEFT,
    [Direction.TOP] = Direction.BOTTOM,
    [Direction.BOTTOM] = Direction.TOP,
    [Direction.UP] = Direction.DOWN,
    [Direction.DOWN] = Direction.UP
}