template-systems #41
@ -8,7 +8,7 @@ export abstract class Gamesystem<S, T> extends ModelComponent{
|
|||||||
states: S[] = [];
|
states: S[] = [];
|
||||||
transitions: T[] = [];
|
transitions: T[] = [];
|
||||||
parentGamesystem: ProductGamesystem | undefined
|
parentGamesystem: ProductGamesystem | undefined
|
||||||
generateIsolatedStates: boolean = true
|
generateIsolatedStates: boolean = false
|
||||||
|
|
||||||
constructor(gamesystemName: string, gamesystemDescription: string) {
|
constructor(gamesystemName: string, gamesystemDescription: string) {
|
||||||
super(gamesystemName, gamesystemDescription, ModelComponentType.GAMESYTEM);
|
super(gamesystemName, gamesystemDescription, ModelComponentType.GAMESYTEM);
|
||||||
|
@ -10,7 +10,7 @@ import {TemplateType} from "../TemplateType";
|
|||||||
export class SimpleTemplateGamesystem extends SimpleGamesystem implements TemplateGamesystem {
|
export class SimpleTemplateGamesystem extends SimpleGamesystem implements TemplateGamesystem {
|
||||||
|
|
||||||
templateType: TemplateType
|
templateType: TemplateType
|
||||||
symmetric: boolean = true
|
symmetric: boolean = false
|
||||||
|
|
||||||
constructor(gamesystemName: string, gamesystemDescription: string, templateType: TemplateType) {
|
constructor(gamesystemName: string, gamesystemDescription: string, templateType: TemplateType) {
|
||||||
super(gamesystemName, gamesystemDescription);
|
super(gamesystemName, gamesystemDescription);
|
||||||
|
Loading…
Reference in New Issue
Block a user