1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-26 20:44:25 +02:00

どこでも置けるモード実装

This commit is contained in:
syuilo
2018-03-10 18:22:54 +09:00
parent 8b0162a458
commit c8bf30d0d8
5 changed files with 27 additions and 7 deletions

View File

@@ -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 => {