I have 2 layers to show on the GUI display.
- IntGrid2D objectSpace;
- ObjectGrid2D agentSpace;
I create 2 portrayals and attach to display:
FastValueGridPortrayal2D objectsPortrayal = new FastValueGridPortrayal2D();
FastValueGridPortrayal2D agentsPortrayal = new FastValueGridPortrayal2D();
Now the problem is that:
1- I get "Invalid field for ValueGridPortrayal2D at
"FastValueGridPortrayal2D" does not accept "ObjectGrid2D" as its
What I need to be able to show a grid of objects.
2- My objects have a getColor() method. How will the display get the
color of my Objects (because we no more have a Int->color mapping)
I am very sorry for the long question and I appreciate your help and
comments very much.