import EntityHandler from 'WTF-Adventure/WTF-Adventure/client/entity/entityhandler.js'
EntityHandler
This is a entity handler, responsible for all the Entity callbacks without having to clutter up the entire file.
Constructor Summary
Public Constructor | ||
public |
constructor(entity: Entity) Default constructor |
Member Summary
Public Members | ||
public |
An array of nearby entities |
|
public |
Instance of the entity |
|
public |
Instance of the game |
Method Summary
Public Methods | ||
public |
Check if this is a character |
|
public |
Load the entity |
|
public |
setEntities(entities: Entities[]) Set the entities list |
|
public |
Set the game instance |