Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void paintComponent(Graphics g) {
- Graphics2D sprite = (Graphics2D) g;
- if (chalice.getHolding() == true || roomID == chalice.getRoomDroppedIn()) {
- sprite.setColor(new Color(255, 255, 255));
- sprite.fill(chalice.getPoly());
- }
- }
Add Comment
Please, Sign In to add comment