Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.risenphoenix.jnk.StarField.Profiles;
- import java.io.Serializable;
- import net.risenphoenix.jnk.StarField.Entity.PlayerEntity;
- import net.risenphoenix.jnk.StarField.Settings.EntityEngineStateObject;
- public class Profile implements Serializable{
- private static final long serialVersionUID = -6596791076833052603L;
- /* PROFILE INFORMATION */
- private String profileName;
- /* ENTITY-ENGINE STATE INFORMATION */
- private EntityEngineStateObject eeso = null;
- /* PLAYER INFORMATION */
- private PlayerEntity player = null;
- /* ACHIEVEMENTS */
- private boolean achMove = false; // ACHIEVEMENT_MOVE
- private boolean achFire = false; // ACHIEVEMENT_FIRE
- private boolean achHunBull = false; // ACHIEVEMENT_HUNDRED_BULLETS
- private boolean achThousBull = false; // ACHIEVEMENT_THOUSAND_BULLETS
- private boolean achEmptyClip = false; // ACHIEVEMENT_EMPTY_CLIP
- private boolean achTenThousBull = false; // ACHIEVEMENT_TEN_THOUSAND_BULLETS
- private boolean achTakeDam = false; // ACHIEVEMENT_TAKE_DAMAGE
- private boolean achKillAst = false; // ACHIEVEMENT_KILL_ASTEROID
- private boolean achKillScout = false; // ACHIEVEMENT_KILL_SCOUT
- public Profile(String profileName) {
- this.profileName = profileName;
- }
- /* GETTERS */
- public Profile getProfile() {
- return this;
- }
- public String getProfileName() {
- return this.profileName;
- }
- public EntityEngineStateObject getEntityEngineStateObject() {
- return this.eeso;
- }
- public PlayerEntity getPlayer() {
- return this.player;
- }
- public int getScore() {
- return this.player.getHUD().getScore();
- }
- public boolean hasAchievementMove() {
- return this.achMove;
- }
- public boolean hasAchievementFire() {
- return this.achFire;
- }
- public boolean hasAchievementHundredBullets() {
- return this.achHunBull;
- }
- public boolean hasAchievementThousandBullets() {
- return this.achThousBull;
- }
- public boolean hasAchievementEmptyClip() {
- return this.achEmptyClip;
- }
- public boolean hasAchievementTenThousandBullets() {
- return this.achTenThousBull;
- }
- public boolean hasAchievementTakeDamage() {
- return this.achTakeDam;
- }
- public boolean hasAchievementKillAsteroid() {
- return this.achKillAst;
- }
- public boolean hasAchievementKillScout() {
- return this.achKillScout;
- }
- /* SETTERS */
- public void setEntityEngineStateObject(EntityEngineStateObject eeso) {
- this.eeso = eeso;
- }
- public void setPlayer(PlayerEntity player) {
- this.player = player;
- }
- public void setScore(int score) {
- this.player.getHUD().setScore(score);
- }
- public void setAchievementMove(boolean value) {
- this.achMove = value;
- }
- public void setAchievementFire(boolean value) {
- this.achFire = value;
- }
- public void setAchievementHundredBullets(boolean value) {
- this.achHunBull = value;
- }
- public void setAchievementThousandBullets(boolean value) {
- this.achThousBull = value;
- }
- public void setAchievementEmptyClip(boolean value) {
- this.achEmptyClip = value;
- }
- public void setAchievementTenThousandBullets(boolean value) {
- this.achTenThousBull = value;
- }
- public void setAchievementTakeDamage(boolean value) {
- this.achTakeDam = value;
- }
- public void setAchievementKillAsteroid(boolean value) {
- this.achKillAst = value;
- }
- public void setAchievementKillScout(boolean value) {
- this.achKillScout = value;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement