Last change
on this file since 12203 was
12177,
checked in by siramesh, 6 years ago
|
Super Orxo Bros Final (Sidharth Ramesh, Nisa Balta, Jeff Ren)
|
File size:
379 bytes
|
Rev | Line | |
---|
[12177] | 1 | -- HUDSheet.lua |
---|
| 2 | |
---|
| 3 | local P = {} -- Local alias, always use it in this file |
---|
| 4 | HUDSheet = P -- Global name |
---|
| 5 | setmetatable(P, require("GUISheet")) -- Inherit from GUISheet |
---|
| 6 | P.__index = P -- Provide class character |
---|
| 7 | |
---|
| 8 | -- Use this function to construct a new HUDSheet |
---|
| 9 | function P.new(name) |
---|
| 10 | local newSheet = GUISheet.new(name) |
---|
| 11 | setmetatable(newSheet, P) |
---|
| 12 | return newSheet |
---|
| 13 | end |
---|
| 14 | |
---|
| 15 | return P |
---|
Note: See
TracBrowser
for help on using the repository browser.