register_type{ [PrimaryBaseType [, SecondaryBaseType [, ...]]];
name = "TypeName",
namespace = Namespace,
[attribs = { }],
[alerts = { alert_name = alert_function }],
[profile = { }]
}
This will create a type named "TypeName" derived from "PrimaryBaseType" and "SecondaryBaseType" in the namespace "Namespace" (see ZippyNamespaces). The type may optionally have class variables (in the "attribs" sub-table), alert handlers (in the "alerts" sub-table), and a profile (in the "profile" sub-table).
An actual character may be spawned with the following syntax:
Namespace.Typename(x, y, z, name, team, skin_name, starting_life, is_player [, extras])
| Topic ZippyCharacterType . { Edit | Attach | Ref-By | Printable | Diffs | r1.2 | > | r1.1 | More } |
|
Revision r1.2 - 30 Jan 2004 - 20:05 GMT - ElminI Parents: WebHome > MakingZippyObjects |
Copyright © 1999-2003 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding EgoWiki? Send feedback. |