/zoeplat

To get this branch, use:
bzr branch http://9ix.org/bzr/zoeplat

« back to all changes in this revision

Viewing changes to zoetrope/core/class.lua

  • Committer: Josh C
  • Date: 2013-04-10 23:47:59 UTC
  • Revision ID: josh@9ix.org-20130410234759-nrzne3xed1puy1v2
put sprite and player in their own files

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
-- Event: onNew
18
18
--              Called once, when a new object is created via <new()>.
19
19
 
20
 
Class = {
 
20
Class =
 
21
{
21
22
        -- Method: extend
22
23
        -- Creates a subclass of a class object, replacing any class properties
23
24
        -- with those in the object passed. It also sets the subclass's prototype