public class ComponentCollision extends Object implements ComponentUpdater, HandlerListener, TransformableListener
Collidable
.
Collision events are notified to CollidableListener
.Collidable
,
CollidableListener
Constructor and Description |
---|
ComponentCollision()
Create component.
|
Modifier and Type | Method and Description |
---|---|
void |
notifyHandlableAdded(Featurable featurable)
Notify when a featurable has been added.
|
void |
notifyHandlableRemoved(Featurable featurable)
Notify when a featurable has been removed.
|
void |
notifyTransformed(Transformable transformable)
Notify transformable modification.
|
void |
update(double extrp,
Handlables objects)
Update the current objects.
|
public void update(double extrp, Handlables objects)
ComponentUpdater
update
in interface ComponentUpdater
extrp
- The extrapolation value.objects
- The featurables reference.public void notifyHandlableAdded(Featurable featurable)
HandlerListener
notifyHandlableAdded
in interface HandlerListener
featurable
- The added featurable.public void notifyHandlableRemoved(Featurable featurable)
HandlerListener
notifyHandlableRemoved
in interface HandlerListener
featurable
- The removed featurable.public void notifyTransformed(Transformable transformable)
TransformableListener
notifyTransformed
in interface TransformableListener
transformable
- The modified transformable.Copyright © 2017 Byron 3D Games Studio. All rights reserved.