Enter code here...species codon {
string nucleotide_type;
string aminoacid;
const color type: rgb <- 'black' as rgb;
const size type: float <- float(min_size_of_agents*2);
geometry shape <- sphere (size) simplification (1);
init {
nucleotide_type <- first(nucleotides_list);
remove first(nucleotides_list) from: nucleotides_list;
aminoacid <- first(aminoacids_list);
remove first(aminoacids_list) from: aminoacids_list;
if int(self) = 0{
self.location <- {rnd(world_x), rnd(world_y), rnd(world_z)};
}
//HELP
//self.location <- get location from previous agent?;
}
aspect default {
draw shape color: color;
}
}
--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/gama-platform.
For more options, visit https://groups.google.com/d/optout.