nngn
Loading...
Searching...
No Matches
menu.lua File Reference

Functions

local function displayed (m) return m.entities ~
 
local function menu_pos (n, idx, i)
 
local function show_menu (m)
 
local function hide_menu (m)
 
local function rotate_menu (m, mods)
 
local function menu (p, mods)
 

Variables

local entity< const > = require "nngn.lib.entity"
 
local utils< const > = require "nngn.lib.utils"
 
 new_player = new_player
 
 menu = menu
 
 displayed = displayed
 
 show = show_menu
 
 hide = hide_menu
 

Function Documentation

◆ displayed()

local function displayed ( m )

◆ hide_menu()

local function hide_menu ( m )

◆ menu()

local function menu ( p ,
mods  )

◆ menu_pos()

local function menu_pos ( n ,
idx ,
i  )

◆ rotate_menu()

local function rotate_menu ( m ,
mods  )

◆ show_menu()

local function show_menu ( m )

Variable Documentation

◆ displayed

displayed = displayed

◆ entity< const >

local entity< const > = require "nngn.lib.entity"

◆ hide

hide = hide_menu

◆ menu

menu = menu

◆ new_player

local function new_player = new_player

◆ show

show = show_menu

◆ utils< const >

local utils< const > = require "nngn.lib.utils"