-
Notifications
You must be signed in to change notification settings - Fork 2
PGameFrame
public PGameFrame(java.lang.String title) constructor Parameters: title - - games title
public void update(Arena ar) update the graph paint base on games arena Parameters: ar - - games arena
public void paint(java.awt.Graphics g) Overrides: paint in class java.awt.Window
public void paintComponent(java.awt.Graphics g) paint the game graph Parameters: g - - graphics
public double getNumOfMoves(java.lang.String info) return num of move base on server information Parameters: info - - server information Returns: num of move
public double getGrade(java.lang.String info) return current games grade base on server information Parameters: info - - server information Returns: current games grade
public long getTimer() get games timer Returns: timer
public void setTimer(long l) set games timer Parameters: l - - time