src/entities/Enemy.js
/**
	* Executed when this game entity is updated for the first time by its entity manager.
	*
	* @return {Enemy} A reference to this game entity.
	*/
Executed when this game entity is updated for the first time by its entity manager.
@return {Enemy} A reference to this game entity.
Executed when this game entity is updated for the first time by its entity manager . @return { Enemy } A reference to this game entity .
start() {
		const run = this.animations.get( 'soldier_forward' );
		run.enabled = true;
		const level = this.manager.getEntityByName( 'level' );
		this.vision.addObstacle( level );
		this.bounds.init();
		this.weaponSystem.init();
		return this;
	}
start ( ) { const run = this . animations . get ( 'soldier_forward' ) ; run . enabled = true ; const level = this . manager . getEntityByName ( 'level' ) ; this . vision . addObstacle ( level ) ; this . bounds . init ( ) ; this . weaponSystem . init ( ) ; return this ; }
Executed when this game entity is updated for the first time by its entity manager.
Executed when this game entity is updated for the first time by its entity manager .