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

Functions

function wheel new (n, radius)
 
function wheel cycle (dir)
 
function wheel dismiss ()
 
function wheel update (dt, f)
 

Variables

local nngn_math< const > = require "nngn.lib.math"
 
local utils< const > = require "nngn.lib.utils"
 
local WHEEL_TIMER< const > = 250
 
local wheel = utils.class "wheel" {}
 

Function Documentation

◆ cycle()

function wheel cycle ( dir )

◆ dismiss()

function wheel dismiss ( )

◆ new()

function wheel new ( n ,
radius  )

◆ update()

function wheel update ( dt ,
f  )

Variable Documentation

◆ nngn_math< const >

local nngn_math< const > = require "nngn.lib.math"

◆ utils< const >

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

◆ wheel

wheel = utils.class "wheel" {}

◆ WHEEL_TIMER< const >

local WHEEL_TIMER< const > = 250