Guns4d | The ultimate 3d gun mod.

Class Instantiatable_class

The system for defining classes in 4dguns. Please note the capital "I", Ldoc converts it to a lowercase in all of this file

Synopsis

Methods
inherit()

creates a new base class

new()

creates an instance of the base class

Instantiatable_class:inherit(def)

creates a new base class. Calls all constructors in the chain with def.instance=true

Instantiatable_class:new(def)

creates an instance of the base class. Calls all constructors in the chain with def.instance=true

Instantiatable_class

Synopsis

Fields
instance

defines wether the object is an instance

base_class

only present for instances: the class from which this instance originates

parent_class

the class from which this class was inherited from

god_work.instance

defines wether the object is an instance

god_work.base_class

only present for instances: the class from which this instance originates

god_work.parent_class

the class from which this class was inherited from