Skip to content

Commit 4323a63

Browse files
committed
Merge branch 'GAMA_1.9.3' of https://github.com/gama-platform/gama into GAMA_1.9.3
2 parents 4ce1e4a + 97eb69b commit 4323a63

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

msi.gama.models/models/Visualization and User Interaction/Visualization/DEM Generator.gaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ experiment Terrain type: gui {
8686
list<rgb> land_and_sea <- palette(reverse([#darkgreen, #darkgreen, #green, rgb(32, 176, 0), rgb(224, 224, 0), rgb(128, 128, 255), #blue, #blue]));
8787
list<rgb> field_and_forest <- palette(reverse([#sienna, #olive, #darkgreen, #green, #forestgreen, #lightgreen]));
8888
output {
89-
layout #split consoles: false controls: false toolbars: false;
89+
layout #split consoles: false toolbars: false;
9090
display "Terrain" type: 3d axes: false camera: #from_up_front {
9191
mesh terrain color: palette_name = "Seaside" ? land_and_sea : field_and_forest triangulation: true;
9292
}

ummisco.gama.network/models/Network/2 Available protocols/MQTT protocol/Example_MQTT_Receive_Agent.gaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,14 @@ global skills:[network] {
2525
reflex receiveAgent when:has_more_message(){
2626
// write "fetch agent on the network";
2727
message mess <- fetch_message();
28-
// write name + " fecth this message: " + mess.contents;
2928

30-
loop agt over: mess.contents as list{
31-
create NetworkingAgent with: [shape::agt["shape"], color::agt["color"]];
32-
}
29+
// Accessing the content of a message unserialised the received object
30+
// In the case of an agent, it is recreated.
31+
write name + " fecth this message: " + mess.contents;
32+
33+
//loop agt over: mess.contents as list{
34+
// create NetworkingAgent with: [shape::agt["shape"], color::agt["color"]];
35+
//}
3336
}
3437
}
3538

0 commit comments

Comments
 (0)