diff --git a/msi.gama.models/models/Toy Models/Ants (Foraging and Sorting)/models/Ant Foraging.gaml b/msi.gama.models/models/Toy Models/Ants (Foraging and Sorting)/models/Ant Foraging.gaml index 1a16183e5b..d5097b29ae 100644 --- a/msi.gama.models/models/Toy Models/Ants (Foraging and Sorting)/models/Ant Foraging.gaml +++ b/msi.gama.models/models/Toy Models/Ants (Foraging and Sorting)/models/Ant Foraging.gaml @@ -145,15 +145,18 @@ species ant skills: [moving] control: fsm { aspect info { if(use_icons) { draw ant_shape size: {7, 5} rotate: my heading + 1; + } else { + draw circle(1) wireframe: !has_food color: #red; } - draw circle(1) wireframe: !has_food color: #red; + if (destination != nil) { draw line([location + {0, 0, 0.5}, {location.x + 5 * cos(heading), location.y + 5 * sin(heading)} + {0, 0, 0.5}]) + 0.1 color: #white border: false end_arrow: 1.2; } if (state != "wandering") { - draw circle(4) wireframe: true color: #white; - draw string(self as int) color: #white font: font("Helvetica", 14 , #bold) at: my location - {1, 1, -0.5}; + //draw circle(4) wireframe: true color: #white; + if(display_state) { + draw string(self as int) color: #white font: font("Helvetica", 14 , #bold) at: my location - {1, 1, -0.5}; draw state color: #yellow font: font("Helvetica", 18, #bold) at: my location + {1, 1, 0.5} ; } }