You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do you think about having enumeration in gama like in Java ?
There is lack of customs structure outside species in gama and I think it would be great to add something like enumeration in gama to counter this problem.
In example, to distinguish agent current behaviour, we could have a field in the species that is an enumeration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What do you think about having enumeration in gama like in Java ?
There is lack of customs structure outside species in gama and I think it would be great to add something like enumeration in gama to counter this problem.
In example, to distinguish agent current behaviour, we could have a field in the species that is an enumeration.
enum behaviour
{
EATING,
HUNTING,
SLEEPING
}
species predator
{
behaviour current_behaviour;
}
Beta Was this translation helpful? Give feedback.
All reactions