public class CoreMotorDispenser extends Object implements MotorDispenser
| Constructor and Description |
|---|
CoreMotorDispenser(Activity activity,
InputDispenser inputDispenser,
ActionDispenser actionDispenser) |
| Modifier and Type | Method and Description |
|---|---|
Motor |
getMotor(ActivityDef activityDef,
int slotId)
Resolve (find or create) a Motor instance for the slot specified.
|
public CoreMotorDispenser(Activity activity, InputDispenser inputDispenser, ActionDispenser actionDispenser)
public Motor getMotor(ActivityDef activityDef, int slotId)
MotorDispensergetMotor in interface MotorDispenseractivityDef - the ActivityDef which will be used to parameterize the returned motorslotId - The numbered slot within the activity instance for this motorCopyright © 2017. All rights reserved.