vertecs
Version:
A typescript entity-component-system framework
44 lines (33 loc) • 897 B
text/typescript
import { Component } from "../../core";
export default class TimedState extends Component {
public constructor(
duration: number,
repeat: number,
nextStateName?: string
) {
super();
this.
this.
this.
this.
}
public get duration(): number {
return this.
}
public get repeat(): number {
return this.
}
public get startTime(): number {
return this.
}
public set startTime(startTime: number) {
this.
}
public get nextStateName(): string | undefined {
return this.
}
}