Updates for DocGenerator
This commit is contained in:
parent
22d0c5df55
commit
8b0f6f34a9
|
@ -2,9 +2,10 @@ import AI from "../DataTypes/Interfaces/AI";
|
|||
import GameEvent from "../Events/GameEvent";
|
||||
import GameNode from "../Nodes/GameNode";
|
||||
|
||||
/** */
|
||||
export default abstract class ControllerAI implements AI {
|
||||
/** The owner of this controller */
|
||||
owner: GameNode;
|
||||
protected owner: GameNode;
|
||||
|
||||
/** Removes the instance of the owner of this AI */
|
||||
destroy(): void {
|
||||
|
|
|
@ -67,7 +67,7 @@ export default class StateMachine implements Updateable {
|
|||
* Initializes this state machine with an initial state and sets it running
|
||||
* @param initialState The name of initial state of the state machine
|
||||
*/
|
||||
initialize(initialState: string, options: Record<string, any> = {}): void {
|
||||
initialize(initialState: string, options: Record<string, any>): void {
|
||||
this.stack.push(this.stateMap.get(initialState));
|
||||
this.currentState = this.stack.peek();
|
||||
this.currentState.onEnter(options);
|
||||
|
|
|
@ -22,7 +22,7 @@ export default abstract class PhysicsManager implements Updateable {
|
|||
protected groupNames: Array<string>;
|
||||
|
||||
/** The default group name */
|
||||
protected static readonly DEFAULT_GROUP = "Default";
|
||||
protected static readonly DEFAULT_GROUP: string = "Default";
|
||||
|
||||
constructor(){
|
||||
this.receiver = new Receiver();
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import Map from "../../DataTypes/Map";
|
||||
|
||||
/** */
|
||||
export default abstract class Registry<T> extends Map<T>{
|
||||
|
||||
/** Preloads registry data */
|
||||
|
|
|
@ -6,6 +6,7 @@ import Label from "../../../Nodes/UIElements/Label";
|
|||
import ResourceManager from "../../../ResourceManager/ResourceManager";
|
||||
import QuadShaderType from "./QuadShaderType";
|
||||
|
||||
/** */
|
||||
export default class LabelShaderType extends QuadShaderType {
|
||||
|
||||
constructor(programKey: string){
|
||||
|
|
|
@ -4,6 +4,7 @@ import Rect from "../../../Nodes/Graphics/Rect";
|
|||
import ResourceManager from "../../../ResourceManager/ResourceManager";
|
||||
import QuadShaderType from "./QuadShaderType";
|
||||
|
||||
/** */
|
||||
export default class RectShaderType extends QuadShaderType {
|
||||
|
||||
constructor(programKey: string){
|
||||
|
|
|
@ -2,6 +2,7 @@ import Updateable from "../DataTypes/Interfaces/Updateable";
|
|||
import MathUtils from "../Utils/MathUtils";
|
||||
import TimerManager from "./TimerManager";
|
||||
|
||||
/** */
|
||||
export default class Timer implements Updateable {
|
||||
|
||||
/** The current state of this timer */
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import Stack from "../DataTypes/Stack";
|
||||
|
||||
/** */
|
||||
export default class MemoryUtils {
|
||||
/**
|
||||
* Returns an approximate size in bytes of any object
|
||||
|
|
Loading…
Reference in New Issue
Block a user