どこでも置けるモード実装
This commit is contained in:
parent
8b0162a458
commit
c8bf30d0d8
5 changed files with 27 additions and 7 deletions
|
|
@ -89,7 +89,8 @@ export default Vue.extend({
|
|||
logPos(v) {
|
||||
if (!this.game.is_ended) return;
|
||||
this.o = new Othello(this.game.settings.map, {
|
||||
isLlotheo: this.game.settings.is_llotheo
|
||||
isLlotheo: this.game.settings.is_llotheo,
|
||||
canPutEverywhere: this.game.settings.can_put_everywhere
|
||||
});
|
||||
this.logs.forEach((log, i) => {
|
||||
if (i < v) {
|
||||
|
|
@ -102,7 +103,8 @@ export default Vue.extend({
|
|||
|
||||
created() {
|
||||
this.o = new Othello(this.game.settings.map, {
|
||||
isLlotheo: this.game.settings.is_llotheo
|
||||
isLlotheo: this.game.settings.is_llotheo,
|
||||
canPutEverywhere: this.game.settings.can_put_everywhere
|
||||
});
|
||||
|
||||
this.game.logs.forEach(log => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue