From 720b7edcdb0dd18b2c1d4f46017d31a4a59619c2 Mon Sep 17 00:00:00 2001 From: Vanic Date: Mon, 8 Dec 2025 21:28:30 +0300 Subject: [PATCH] Create `Player` class and `Player.HUD`, `Player.GUI` --- mods/CORE/Player/init.lua | 4 ++++ mods/CORE/Player/mod.conf | 1 + mods/CORE/Player/src/Player.lua | 4 ++++ mods/CORE/Player/src/Player/GUI.lua | 4 ++++ mods/CORE/Player/src/Player/HUD.lua | 4 ++++ 5 files changed, 17 insertions(+) create mode 100644 mods/CORE/Player/init.lua create mode 100644 mods/CORE/Player/mod.conf create mode 100644 mods/CORE/Player/src/Player.lua create mode 100644 mods/CORE/Player/src/Player/GUI.lua create mode 100644 mods/CORE/Player/src/Player/HUD.lua diff --git a/mods/CORE/Player/init.lua b/mods/CORE/Player/init.lua new file mode 100644 index 0000000..a587138 --- /dev/null +++ b/mods/CORE/Player/init.lua @@ -0,0 +1,4 @@ +local modInfo = Mod.getInfo('smc__core__player') +local require = modInfo.require + +return require('Player') \ No newline at end of file diff --git a/mods/CORE/Player/mod.conf b/mods/CORE/Player/mod.conf new file mode 100644 index 0000000..ab7e42f --- /dev/null +++ b/mods/CORE/Player/mod.conf @@ -0,0 +1 @@ +name = smc__core__player diff --git a/mods/CORE/Player/src/Player.lua b/mods/CORE/Player/src/Player.lua new file mode 100644 index 0000000..5882400 --- /dev/null +++ b/mods/CORE/Player/src/Player.lua @@ -0,0 +1,4 @@ +---@class Player +local Player = {} + +return Player \ No newline at end of file diff --git a/mods/CORE/Player/src/Player/GUI.lua b/mods/CORE/Player/src/Player/GUI.lua new file mode 100644 index 0000000..6356055 --- /dev/null +++ b/mods/CORE/Player/src/Player/GUI.lua @@ -0,0 +1,4 @@ +---@class Player.GUI +local GUI = {} + +return GUI \ No newline at end of file diff --git a/mods/CORE/Player/src/Player/HUD.lua b/mods/CORE/Player/src/Player/HUD.lua new file mode 100644 index 0000000..959fad5 --- /dev/null +++ b/mods/CORE/Player/src/Player/HUD.lua @@ -0,0 +1,4 @@ +---@class Player.HUD +local HUD = {} + +return HUD \ No newline at end of file