Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/data/gui/scripts/HUDSheet.lua @ 7221

Last change on this file since 7221 was 7129, checked in by rgrieder, 14 years ago

svn:eol-style "native" for all text-based files.

  • Property svn:eol-style set to native
File size: 379 bytes
RevLine 
[7129]1-- HUDSheet.lua
2
3local P = {} -- Local alias, always use it in this file
4HUDSheet = P -- Global name
5setmetatable(P, require("GUISheet")) -- Inherit from GUISheet
6P.__index = P -- Provide class character
7
8-- Use this function to construct a new HUDSheet
9function P.new(name)
10    local newSheet = GUISheet.new(name)
11    setmetatable(newSheet, P)
12    return newSheet
13end
14
15return P
Note: See TracBrowser for help on using the repository browser.