Class Administrator
- All Implemented Interfaces:
Serializable,AttributeWrangler,DisplayInterface,ItemWrangler,Ownage
An administrator, which is a simple user with extra rights, in the game.
Also called a "deputy".
- Author:
- maartenl
- See Also:
-
Field Summary
Fields inherited from class Person
EMPTY_LOG, MAX_VITALS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGod()booleanAn administrator, contrary to a user, can indicate if he/she should be visible or invisible.voidsetVisible(boolean visible) Sets an administrator visible or invisible.Methods inherited from class User
activate, addAnnoyingUser, addMacro, canReceive, deactivate, getAddress, getCgiAccept, getCgiAuthType, getCgiContentType, getCgiGatewayInterface, getCgiPathInfo, getCgiPathTranslated, getCgiRemoteAddr, getCgiRemoteHost, getCgiRemoteIdent, getCgiRemoteUser, getCgiRequestMethod, getCgiScriptName, getCgiServerName, getCgiServerPort, getCgiServerProtocol, getCgiServerSoftware, getCgiUserAgent, getChatLine, getEmail, getFrogging, getGuild, getGuildrank, getIgnoredSet, getIgnoringSet, getJackassing, getLastlogin, getMacro, getNewpassword, getOoc, getPunishment, getRace, getRealname, getStatistics, getTimeout, hasChatLine, isIgnoring, isNewUser, joinChatline, leaveChatLine, lessFrogging, lessJackassing, removeAnnoyingUser, removeMacro, setAddress, setCgiAccept, setCgiAuthType, setCgiContentType, setCgiGatewayInterface, setCgiPathInfo, setCgiPathTranslated, setCgiRemoteAddr, setCgiRemoteHost, setCgiRemoteIdent, setCgiRemoteUser, setCgiRequestMethod, setCgiScriptName, setCgiServerName, setCgiServerPort, setCgiServerProtocol, setCgiServerSoftware, setCgiUserAgent, setEmail, setFrogging, setGuild, setGuildrank, setJackassing, setLastlogin, setNewpassword, setOoc, setPunishment, setRealname, setTimeout, verifyPassword, writeMacrosMethods inherited from class Person
addItem, decreaseHealth, destroyItem, drop, equals, findItems, get, getAfk, getAge, getAlignment, getArm, getAttribute, getBandage, getBeard, getBirth, getBody, getComplexion, getConstitution, getCopper, getCreation, getDescription, getDexterity, getDrinkstats, getEatstats, getExperience, getEyes, getFace, getFamilyname, getFightable, getFightingwho, getFysically, getHair, getHealth, getHeight, getImage, getIntelligence, getItems, getJumpmana, getJumpmove, getJumpvital, getLeg, getLevel, getLongDescription, getMainTitle, getManastats, getMaxmana, getMaxmove, getMaxvital, getMentally, getMoney, getMovementstats, getName, getNotes, getOwner, getPractises, getRoom, getSex, getSleep, getState, getStrength, getTitle, getTraining, getTransform, getVitals, getWebsocketSupport, getWidth, getWimpy, getWisdom, give, hashCode, increaseHealth, isActive, isAfk, isDead, isShopkeeper, isUser, isWearing, isWielding, receive, removeAttribute, setActive, setAfk, setAge, setAlignment, setArm, setAttribute, setBandage, setBeard, setBirth, setComplexion, setConstitution, setCopper, setCreation, setDexterity, setDrinkstats, setEatstats, setEyes, setFace, setFamilyname, setFightable, setFightingwho, setFysically, setHair, setHeight, setIntelligence, setJumpmana, setJumpmove, setJumpvital, setLeg, setManastats, setMaxmana, setMaxmove, setMaxvital, setMentally, setMovementstats, setName, setNotes, setOwner, setPractises, setRace, setRoom, setSex, setSleep, setState, setStrength, setTitle, setTraining, setTransform, setWebsocketSupport, setWidth, setWimpy, setWisdom, toString, transferMoney, unused, verifyAttribute, wear, wears, wield, wields
-
Constructor Details
-
Administrator
public Administrator()
-
-
Method Details
-
getGod
-
getVisible
public boolean getVisible()An administrator, contrary to a user, can indicate if he/she should be visible or invisible.- Overrides:
getVisiblein classPerson- Returns:
-
setVisible
public void setVisible(boolean visible) Sets an administrator visible or invisible.- Overrides:
setVisiblein classPerson- Parameters:
visible-
-