Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package exipe.server.player;
- import exipe.server.player.appearance.Appearance;
- import exipe.server.player.appearance.Gender;
- import exipe.server.player.walking.Direction;
- public final class Save {
- private final Bank bank = new Bank();
- private final Inventory inventory = new Inventory();
- private final String username;
- private final String password;
- private Appearance appearance = new Appearance(Gender.MALE);
- private Direction face = Direction.WEST;
- private int staffRights,
- posX = 2964,
- posY = 3378,
- height;
- public Save(String username, String password) {
- this.username = username;
- this.password = password;
- }
- public Bank bank() {
- return bank;
- }
- public Inventory inventory() {
- return inventory;
- }
- public String username() {
- return username;
- }
- public String password() {
- return password;
- }
- public void setAppearance(Appearance app) {
- if(appearance == app) return;
- appearance = app;
- }
- public Appearance appearance() {
- return appearance;
- }
- public void setFace(Direction face) {
- if(this.face == face) return;
- this.face = face;
- }
- public Direction face() {
- return face;
- }
- public int staffRights() {
- return staffRights;
- }
- public void setX(int newX) {
- posX = newX;
- }
- public void setY(int newY) {
- posY = newY;
- }
- public void setHeight(int height) {
- this.height = height;
- }
- public int posX() {
- return posX;
- }
- public int posY() {
- return posY;
- }
- public int height() {
- return height;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement