|
Inherits EventListener.
Inherited by Body, Camera, Pose, Space, and Surface.
List of all members.
Detailed Description
An attribute defines a new behavior for an entity. This is a generic interface which allows the attribute to contribute to the scene.
Member Function Documentation
|
|
Test for collisions between entities.
Reimplemented in SimpleSpace. |
| virtual void Attribute::connect |
( |
Entity * |
ent |
) |
[inline, virtual] |
|
|
|
Connect this attribute to an entity. In general, you shouldn't call this method directly, rather use Entity::addAttribute(). The default implementation of this method does nothing. |
| virtual void Attribute::disconnect |
( |
|
) |
[inline, virtual] |
|
|
|
Disconnect this attribute from an entity. In general, you shouldn't call this method directly, rather use Entity::removeAttribute(). The default implementation of this method does nothing. |
| virtual bool Attribute::receive |
( |
Event * |
|
) |
[inline, virtual] |
|
|
|
Handle a generic event. The default implementation of this method simply returns false, indicating that the event was not handled.
Implements EventListener. |
| virtual void Attribute::render |
( |
RenderContext * |
rc |
) |
[inline, virtual] |
|
|
|
Render the contents of this attribute. The default implementation of this method does nothing.
Reimplemented in SimpleSpace. |
|
|
Respond to a collision with another entity. |
| virtual void Attribute::update |
( |
UpdateContext * |
rc |
) |
[inline, virtual] |
|
|
|
Update the state of this attribute. The default implementation of this method does nothing.
Reimplemented in SimpleSpace. |
The documentation for this struct was generated from the following file:
Flat Four Engine
Copyright (C) 2001 by 379, Inc.
|
This page generated by Doxygen
|
|