Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package org.astrect.gameframe;
- import org.astrect.Game;
- /**
- * The main game frame rendering.
- *
- * @author Steve Kreitzer
- */
- public abstract class Gameframe {
- /**
- * Game Instance.
- */
- protected final Game game;
- /**
- * Game frame.
- *
- * @param game
- */
- public Gameframe(Game game) {
- this.game = game;
- }
- /**
- * Builds the channel chat area menus.
- */
- public abstract void buildChannelButtonsMenus();
- /**
- * Builds the map menus.
- */
- public abstract void buildMinimapMenus();
- /**
- * Displays the chat area component.
- */
- public abstract void displayChatArea();
- /**
- * Displays the map area component.
- */
- public abstract void displayMapArea();
- /**
- * Displays the tab area component.
- */
- public abstract void displayTabArea();
- /**
- * Displays the hitpoint orb.
- */
- public abstract void displayHitpointOrb();
- /**
- * Displays the prayer orb.
- */
- public abstract void displayPrayerOrb();
- /**
- * Displays the run orb.
- */
- public abstract void displayRunOrb();
- /**
- * Displays the summoning orb.
- */
- public abstract void displaySummoningOrb();
- /**
- * Checks if the tabs have been clicked and does the actions for them.
- */
- public abstract void processTabClick();
- /**
- * Checks the walking game frame positioning.
- *
- * @return
- */
- public boolean canWalk() {
- return game.mouseX > 0 && game.mouseY > 0 && game.mouseX < 516 && game.mouseY < 338;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement