Module: lib/entities/Entity

Base entity class

new (require("lib/entities/Entity"))()

Members


meta :Object

Meta options for pass it everywhere
Type:
  • Object

name :string

Entity name
Type:
  • string

type :EntityType

Type:

Methods


debug(args)

Log just for dev mode
Parameters:
Name Type Argument Description
args <repeatable>

<abstract> getEntityType()

Returns:
EntityType

log(args)

Console log with entity name
Parameters:
Name Type Argument Description
args <repeatable>