com.croftsoft.apps.chat.model.seri
Class SeriChatModel
java.lang.Object
com.croftsoft.core.animation.model.seri.SeriModel
com.croftsoft.apps.chat.model.seri.SeriChatModel
- All Implemented Interfaces:
- ChatModel, ChatModelAccessor, Impassable, Model, ModelAccessor, Serializable, Comparable
public class SeriChatModel
- extends SeriModel
- implements ChatModel
The base class for a game world object Model.
- Since:
- 2003-06-05
- Version:
- 2003-06-17
- See Also:
- Serialized Form
- Author:
- David Wallace Croft
Fields inherited from class com.croftsoft.core.animation.model.seri.SeriModel |
modelId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeriChatModel
public SeriChatModel(ModelId modelId,
Consumer eventConsumer,
ChatWorld chatWorld,
String avatarType,
double x,
double y)
getAvatarType
public String getAvatarType()
- Specified by:
getAvatarType
in interface ChatModelAccessor
isActive
public boolean isActive()
- Specified by:
isActive
in interface ModelAccessor
getCenterX
public double getCenterX()
- Specified by:
getCenterX
in interface ModelAccessor
getCenterY
public double getCenterY()
- Specified by:
getCenterY
in interface ModelAccessor
getShape
public Shape getShape()
- Specified by:
getShape
in interface ModelAccessor
isUpdated
public boolean isUpdated()
- Specified by:
isUpdated
in interface ModelAccessor
getZ
public double getZ()
- Specified by:
getZ
in interface ModelAccessor
setActive
public void setActive(boolean active)
- Specified by:
setActive
in interface ChatModel
setDestination
public void setDestination(PointXY destination)
- Specified by:
setDestination
in interface ChatModel
setEventConsumer
public void setEventConsumer(Consumer eventConsumer)
- Specified by:
setEventConsumer
in interface ChatModel
setCenter
public void setCenter(double x,
double y)
- Specified by:
setCenter
in interface Model
prepare
public void prepare()
- Specified by:
prepare
in interface Model
update
public void update(double timeDelta)
- Specified by:
update
in interface Model
CroftSoft Apps Javadoc (2008-09-28 21:15:07)