diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-04 12:03:23 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-04 12:03:23 +0800 |
| commit | e7b8b3c3113cbdb652a27dce888e6b5a1c97f9a4 (patch) | |
| tree | bf04bc1d612cd8c69e49ad079ba535f1834f1689 /objects/Direction.lua | |
| parent | b7ae36440273848353efe7b7d6327c2fc046f7c3 (diff) | |
perf: localize all objects module
Diffstat (limited to 'objects/Direction.lua')
| -rw-r--r-- | objects/Direction.lua | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/objects/Direction.lua b/objects/Direction.lua deleted file mode 100644 index 08efaac..0000000 --- a/objects/Direction.lua +++ /dev/null @@ -1,21 +0,0 @@ -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 -} - -Ways = {"lr","rl","tb","bt"} - -Way = { - lr = {Direction.LEFT, Direction.RIGHT}, - rl = {Direction.RIGHT, Direction.LEFT}, - tb = {Direction.TOP, Direction.BOTTOM}, - bt = {Direction.BOTTOM, Direction.TOP} -} |
