CabinGame/Program/src/Components/human.ts

13 lines
231 B
TypeScript
Raw Normal View History

import { Component, Entity } from "ecsy"
2020-02-17 11:56:41 +00:00
// Door component
export class Human extends Component {
diaryEntries: Entity[]
adventureCount = 0
2020-02-17 11:56:41 +00:00
reset() {
this.diaryEntries = []
this.adventureCount = 0
2020-02-17 11:56:41 +00:00
}
}