summaryrefslogtreecommitdiff
path: root/objects/Direction.lua
blob: 865325051516e2f7ad5edc01ad3e1c16b785adc8 (plain)
1
2
3
4
5
6
7
8
9
10
Direction = {
    LEFT = 1, RIGHT = 2, TOP = 3, BOTTOM = 4
}

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