Class
classEngine class object
- read-only Assigning to the field raises an error.
Fields
| Name | Type | Description | |
|---|---|---|---|
| name | read-only | string | Object name |
Functions
Class:is_child_of(other)
Whether this class derives from another one
| other | Class | Candidate parent class |
returns boolean
Inherited from Object (2)
- Object:get_class() Class of this object
- Object.get_class() Return Object class object
Used by
- Actor.add_actor_component param
- Object.get_class return
- Object.get_class return
- StaticBlock.logic field
- StaticBlock.actor field
- StaticBlock.selector field
- StaticBlock.break_effect field
- StaticItem.logic field
- StaticProp.break_effect field
- StaticProp.damage_effect field
- StaticProp.actor_class field