|
RuneHive-Game
|
Public Member Functions | |
| void | construct () |
| void | enter () |
| void | enter (String name) |
| int | getHeight () |
| BuildableMap | getMap () |
| List< ConstructionObject > | getObjects () |
| House (Player player) | |
| boolean | isInside () |
| void | leave () |
| void | location (BuildableMap newMap) |
| void | purchase () |
| void | setMap (BuildableMap map) |
| void | setObject (List< ConstructionObject > object) |
| boolean | toolkit (GameObject object) |
Private Attributes | |
| int | height |
| boolean | inside |
| BuildableMap | map |
| List< ConstructionObject > | OBJECT = new ArrayList<ConstructionObject>() |
| Player | player |
Definition at line 24 of file House.java.
| com.runehive.content.skill.impl.construction.House.House | ( | Player | player | ) |
Definition at line 36 of file House.java.
References player.
Referenced by enter().
| void com.runehive.content.skill.impl.construction.House.construct | ( | ) |
Definition at line 207 of file House.java.
References com.runehive.game.world.entity.skill.Skill.CONSTRUCTION, com.runehive.util.Utility.getAOrAn(), com.runehive.game.world.object.GameObject.getId(), com.runehive.game.world.object.CustomGameObject.getName(), com.runehive.game.world.entity.Entity.getPosition(), OBJECT, player, com.runehive.game.world.object.CustomGameObject.register(), and com.runehive.game.world.World.schedule().
| void com.runehive.content.skill.impl.construction.House.enter | ( | ) |
Definition at line 84 of file House.java.
References com.runehive.util.MessageColor.DARK_GREEN, height, com.runehive.net.packet.out.SendMinimapState.MinimapState.HIDDEN, inside, map, com.runehive.net.packet.out.SendMinimapState.MinimapState.NORMAL, OBJECT, player, com.runehive.game.world.object.CustomGameObject.register(), and com.runehive.game.world.World.schedule().
| void com.runehive.content.skill.impl.construction.House.enter | ( | String | name | ) |
Definition at line 111 of file House.java.
References com.runehive.util.MessageColor.DARK_GREEN, com.runehive.util.generic.GenericVoid< T >.execute(), com.runehive.game.world.entity.mob.player.profile.ProfileRepository.exist(), com.runehive.util.Utility.formatName(), getHeight(), getMap(), getObjects(), com.runehive.content.skill.impl.construction.BuildableMap.getPosition(), com.runehive.game.world.position.Position.getX(), com.runehive.game.world.position.Position.getY(), com.runehive.net.packet.out.SendMinimapState.MinimapState.HIDDEN, House(), com.runehive.game.world.entity.mob.player.Player.house, inside, isInside(), com.runehive.net.packet.out.SendMinimapState.MinimapState.NORMAL, player, com.runehive.game.world.object.CustomGameObject.register(), com.runehive.game.world.World.schedule(), and com.runehive.game.world.World.search().
| int com.runehive.content.skill.impl.construction.House.getHeight | ( | ) |
Definition at line 254 of file House.java.
References height.
Referenced by enter().
| BuildableMap com.runehive.content.skill.impl.construction.House.getMap | ( | ) |
Definition at line 234 of file House.java.
References map.
Referenced by enter().
| List< ConstructionObject > com.runehive.content.skill.impl.construction.House.getObjects | ( | ) |
Definition at line 242 of file House.java.
References OBJECT.
Referenced by enter().
| boolean com.runehive.content.skill.impl.construction.House.isInside | ( | ) |
Definition at line 250 of file House.java.
References inside.
Referenced by enter().
| void com.runehive.content.skill.impl.construction.House.leave | ( | ) |
Definition at line 153 of file House.java.
| void com.runehive.content.skill.impl.construction.House.location | ( | BuildableMap | newMap | ) |
Definition at line 57 of file House.java.
References com.runehive.game.world.entity.skill.Skill.CONSTRUCTION, com.runehive.content.skill.impl.construction.BuildableMap.getCost(), com.runehive.content.skill.impl.construction.BuildableMap.getLevel(), com.runehive.content.skill.impl.construction.BuildableMap.getName(), map, OBJECT, and player.
Referenced by com.runehive.content.dialogue.impl.ConstructionDialogue.sendDialogues().
| void com.runehive.content.skill.impl.construction.House.purchase | ( | ) |
Definition at line 41 of file House.java.
References map, player, and com.runehive.content.skill.impl.construction.BuildableMap.SMALL_CAVE.
Referenced by com.runehive.content.dialogue.impl.ConstructionDialogue.sendDialogues().
| void com.runehive.content.skill.impl.construction.House.setMap | ( | BuildableMap | map | ) |
| void com.runehive.content.skill.impl.construction.House.setObject | ( | List< ConstructionObject > | object | ) |
| boolean com.runehive.content.skill.impl.construction.House.toolkit | ( | GameObject | object | ) |
Definition at line 161 of file House.java.
References com.runehive.game.world.object.ObjectDirection.EAST, com.runehive.game.world.object.ObjectType.GENERAL_PROP, inside, com.runehive.game.world.object.ObjectDirection.NORTH, OBJECT, player, com.runehive.game.world.object.CustomGameObject.register(), com.runehive.game.world.object.ObjectDirection.SOUTH, and com.runehive.game.world.object.ObjectDirection.WEST.
|
private |
Definition at line 34 of file House.java.
Referenced by enter(), and getHeight().
|
private |
Definition at line 32 of file House.java.
Referenced by enter(), enter(), isInside(), leave(), and toolkit().
|
private |
Definition at line 28 of file House.java.
Referenced by enter(), getMap(), location(), purchase(), and setMap().
|
private |
Definition at line 30 of file House.java.
Referenced by construct(), enter(), getObjects(), location(), setObject(), and toolkit().
|
private |
Definition at line 26 of file House.java.
Referenced by construct(), enter(), enter(), House(), leave(), location(), purchase(), and toolkit().