Guest User

Untitled

a guest
May 26th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public void paintComponent(Graphics g) {
  2. Graphics2D sprite = (Graphics2D) g;
  3.  
  4. if (chalice.getHolding() == true || roomID == chalice.getRoomDroppedIn()) {
  5. sprite.setColor(new Color(255, 255, 255));
  6. sprite.fill(chalice.getPoly());
  7. }
  8. }
Add Comment
Please, Sign In to add comment