org.starhope.appius.game.npc
Class Particle

java.lang.Object
  extended by org.starhope.appius.user.GeneralUser
      extended by org.starhope.appius.game.npc.Ejecta
          extended by org.starhope.appius.game.npc.Particle
All Implemented Interfaces:
Serializable, Comparable<Object>, RoomListener, Collidable, HasVariables, AbstractUser, DataRecordBacked<UserRecord>

public class Particle
extends Ejecta

WRITEME: Document this type.

Author:
brpocock@star-hope.org
See Also:
Serialized Form

Nested Class Summary
private static class Particle.ParticleDestroyer
           
 
Field Summary
private static long serialVersionUID
          WRITEME: Document this brpocock@star-hope.org
 
Fields inherited from class org.starhope.appius.user.GeneralUser
baseStats, collisionBounds, currentRoom, facing, lastUserMovement, pathFinder, userRecord
 
Constructor Summary
Particle(AvatarClass avatar, Room room, Coord3D origin, long birth, Coord3D target, double travelRate, long duration)
          Specify the avatar file to be provided to the client, and the point of origination, and motion vector.
 
Method Summary
 
Methods inherited from class org.starhope.appius.game.npc.Ejecta
acceptErrorReply, acceptGameAction, acceptGameStateChange, acceptMessage, acceptObjectJoinRoom, acceptObjectPartRoom, acceptOutOfBandMessage, acceptPrivateMessage, acceptPublicMessage, acceptPublicMessage, acceptSuccessReply, acceptUserVariableUpdate, addBuddy, addGiftSubscription, addItem, assertLocationUnlocked, assertStaffLevel, attend, ban, canTalk, destroy, doffClothes, doTransport, equals, finalize, getAge, getAgeGroup, getApprovedDateString, getAvatarClass, getAvatarLabel, getBaseColor, getBuddyListNames, getCurrentAction, getDebugName, getDialect, getDisplayName, getExtraColor, getFacing, getInventory, getIPAddress, getKickedByUserID, getKickedMessage, getKickedReasonCode, getKickedUntil, getLag, getLanguage, getLocation, getLocationForUpdate, getMail, getMoney, getNameApprovedAt, getNameRequestedAt, getPublicInfo, getRegisteredDateString, getResponsibleMail, getRoom, getRoomNumber, getServerThread, getStaffLevel, getStartT, getTarget, getTravelRate, getTravelStart, getUserID, getUserVariables, getVariable, getWallet, getZone, hashCode, hasStaffLevel, hasVariable, ignore, isBanned, isCanceled, isKicked, isNPC, isOnline, isPaidMember, kick, liftBan, needsParent, removeBuddy, reportedToModeratorBy, reportedToModeratorBy, sendEarnings, sendMigrate, sendOops, sendResponse, sendWardrobe, setAgeGroupToSystem, setBaseColor, setCanTalk, setCurrentAction, setExtraColor, setFacing, setLastActive, setLocation, setMail, setParent, setRoom, setStartT, setTarget, setTravelRate, setTravelStart, setVariable, speak, toJSON, toSFSXML, toString, unlockLocation
 
Methods inherited from class org.starhope.appius.user.GeneralUser
acceptUserAction, canApproveSelf, canBetaTest, canEnterChatZone, canEnterMenuZone, changeBaseDefenses, compareTo, deleteVariable, getBaseDefenses, getBaseStat, getCenterOfMass, getCollisionBounds, getD, getEffectiveDefenses, getEndMovementTime, getGameEquipItems_JSON, getGameEquipItems, getHeight, getHouse, getItemsByType, getItemsByType, getItemsByTypeAsArray, getMass, getPathFinder, getRegisteredAt, getRegisteredDate, getRequestedName, getSizeScalar, getStartMovementTime, getStat, getUserListIterator, getUserName, getVariables, getVariablesJSON, getVelocity, handleWalkFail, isActive, isApproved, local_publicInfo, purchase, resetVariables, sendBuddyList, setBackingRecord, setCenterOfMass, setVariable, setVariables, setVelocity, takeAttack, updateWallet
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
WRITEME: Document this brpocock@star-hope.org

See Also:
Constant Field Values
Constructor Detail

Particle

public Particle(AvatarClass avatar,
                Room room,
                Coord3D origin,
                long birth,
                Coord3D target,
                double travelRate,
                long duration)
Specify the avatar file to be provided to the client, and the point of origination, and motion vector.

Parameters:
avatar - The avatar file to be provided to the client
room - The room in which the Ejecta is born
origin - The point of origin
birth - The time of origination
target - The destination of motion
travelRate - The rate of travel
duration - the time to survive