Component

class in Infernux

Description

Base class for all components attached to GameObjects.

description

Properties

Name Type Description
type_name str (read-only)
component_id int (read-only)
enabled bool
execution_order int
game_object GameObject (read-only)
required_component_types List[str] (read-only)

properties

Public Methods

Method Description
is_component_type(type_name: str) → bool
serialize() → str
deserialize(json_str: str) → None

public_methods

Example

example

# TODO: Add example for Component

See Also

see_also