mapmode action done

This commit is contained in:
2023-07-07 10:51:25 +02:00
parent 213f151557
commit 901c66fe9a
5 changed files with 53 additions and 8 deletions

View File

@@ -565,12 +565,13 @@ export default {
});
for (let i = 0; i < this.entites.length; i++) {
if (this.entites[i].entite.agissante) {
let instance = new paper.SymbolItem(this.paper_symbol_definitions['entite']);
instance.name = 'entite';
let instance = new paper.SymbolItem(this.paper_symbol_definitions['entite_action']);
instance.name = 'entite_action';
instance.position = new paper.Point([this.pos.x + this.entites[i].display.pos.x, this.pos.y + this.entites[i].display.pos.y]);
instance.fillColor = '#000';
instance.scale(0.2);
instance.item_id = this.entites[i].entite.id;
instance.item_type = 'entite';
instance.item_type = 'entite_action';
instance.is_symbol_instance = true;
g.addChild(instance)
}
@@ -909,6 +910,7 @@ export default {
// choose wich one to show, if one
switch (this.map_mode) {
case 'terraindevie':
case 'action':
this.paper_main_object.children.boussole_bg.visible = true;
break;
case 'puissancedagir':