¿Cómo uso el módulo enums lua asistencia?
function love.load()
print(enums.entitytags.player)
print(enums.entitytags.enemy)
enums.gamestates.main = true
end
function love.update(dt)
if enums.gamestates.play == true then
print("You are in the Play State")
end
if enums.gamestates.main == true then
print("You are in the Main Menu State")
end
if enums.gamestates.exit == true then
print("You are in the Exit State")
end
if enums.gamestates.paused == true then
print("You are in the Paused State")
end
end
Cleric Norse Gaming