public class MirrorableModel extends FeatureModel implements Mirrorable, Recyclable
Constructor and Description |
---|
MirrorableModel()
Create a mirrorable model.
|
Modifier and Type | Method and Description |
---|---|
Mirror |
getMirror()
Get current mirror state.
|
void |
mirror(Mirror state)
Set the next mirror state and apply it on next
Updatable.update(double) call. |
void |
recycle()
Recycle feature, to make it ready for reuse.
|
void |
update(double extrp) |
checkListener, getFeature, getFeatures, getFeaturesType, hasFeature, prepare
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkListener, prepare
getFeature, getFeatures, getFeaturesType, hasFeature
public void mirror(Mirror state)
Mirrorable
Updatable.update(double)
call.mirror
in interface Mirrorable
state
- The next mirror state.public Mirror getMirror()
Mirrorable
getMirror
in interface Mirrorable
public final void recycle()
Recyclable
recycle
in interface Recyclable
Copyright © 2017 Byron 3D Games Studio. All rights reserved.