API Docs for: 0.1.0
Show:

zerk.game.engine.component Class

Component

Base class for components. All components should inherit from here.

Item Index

Methods

Properties

Methods

build

(
  • config
)
Object

Build the state of this component for an entity

Parameters:

  • config Object

    Component configuration

Returns:

Object: Component state

init

()

Class constructor

Properties

_name

String protected

Name of the component