@technote-space/game-interface
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -17,2 +17,4 @@ import { IGame } from './IGame'; | ||
protected abstract performPerceive(index: number): Promise<boolean>; | ||
actionExpression(index: number): string; | ||
perceiveExpression(index: number): string; | ||
protected correctionItemScale(): number; | ||
@@ -19,0 +21,0 @@ getScore(): number; |
@@ -51,2 +51,8 @@ "use strict"; | ||
} | ||
actionExpression(index) { | ||
return `行動${index}`; | ||
} | ||
perceiveExpression(index) { | ||
return `知覚${index}`; | ||
} | ||
correctionItemScale() { | ||
@@ -53,0 +59,0 @@ // eslint-disable-next-line no-magic-numbers |
@@ -9,4 +9,6 @@ import { GameSettings } from './types'; | ||
perceive(index: number): Promise<boolean>; | ||
actionExpression(index: number): string; | ||
perceiveExpression(index: number): string; | ||
getScore(): number; | ||
draw(target: string | HTMLCanvasElement): void; | ||
} |
{ | ||
"name": "@technote-space/game-interface", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
16486
221
2