graphPanel - meytar14/ex2 GitHub Wiki

graphPanel

Constructor:

graphPanel()

Methods:

paint​(java.awt.Graphics g)- this function draw all the objects on the frame.

updateFrame​(Arena _ar, Range2D dim, long timeToEnd, java.util.List<CL_Agent> agents)- this function update the variables in graphPanel:the graph, agents and pokemons.

⚠️ **GitHub.com Fallback** ⚠️