This repository has been archived on 2022-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
InfinitShoot/game/content.lua

40 lines
546 B
Lua

---@class Content
local _M = {}
---@type Texture
_M.Texture = nil
---@type Texture
_M.RestartHintTexture = nil
---@type Texture
_M.StartHintTexture = nil
---@type Texture
_M.LicensTexture = nil
---@type TileSheet
_M.Tilesheet = nil
---@type Entity
_M.PlayerEntity = nil
---@type table<Entity>
_M.BulletList = {}
_M.GameStateEnum = {
ShowLogo = 1,
WaitStart = 2,
Gaming = 3,
}
_M.GameState = _M.GameStateEnum.ShowLogo
---@type table<Entity>
_M.MonsterList = {}
_M.MonsterBirthNum = 0
_M.MonsterBirthCountDown = 0
return _M