public class AssignableModel extends FeatureModel implements Assignable
Constructor and Description |
---|
AssignableModel()
Create an assignable model.
|
Modifier and Type | Method and Description |
---|---|
void |
prepare(FeatureProvider provider,
Services services)
Prepare the feature.
|
void |
setAssign(Assign assign)
Set the executable assign.
|
void |
setClickAssign(int click)
Set the mouse click selection value to
Assign.assign() the assign. |
void |
update(double extrp) |
checkListener, getFeature, getFeatures, getFeaturesType, hasFeature
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkListener
getFeature, getFeatures, getFeaturesType, hasFeature
public AssignableModel()
The Services
must provide the following services:
If the Featurable
is an Assign
, it will automatically setAssign(Assign)
on it.
public void prepare(FeatureProvider provider, Services services)
Feature
Services
are required.prepare
in interface Feature
prepare
in class FeatureModel
provider
- The owner reference.services
- The services reference.public void setAssign(Assign assign)
Assignable
setAssign
in interface Assignable
assign
- The assign to execute.public void setClickAssign(int click)
Assignable
Assign.assign()
the assign.setClickAssign
in interface Assignable
click
- The click number.InputDevicePointer
Copyright © 2016 Byron 3D Games Studio. All rights reserved.