View Javadoc

1   package net.sf.josceleton.motion.api.gesture;
2   
3   import net.sf.josceleton.core.api.entity.joint.Joint;
4   
5   /**
6    * @since 0.4
7    */
8   public interface JointableGestureBuilder<
9   		B extends JointableGestureBuilder<B, G, C, L>,
10  		G extends JointableGesture<C, L>,
11  		C extends JointableGestureConfig,
12  		L extends GestureListener/* no custom JointableGestureListener needed */>
13  	extends GestureBuilder<B, G, C, L> {
14  
15  
16  	/**
17  	 * @since 0.4
18  	 */
19  	B relevantJoint(Joint atLeastOneJoint, Joint... optionallyMore);
20  
21  	/**
22  	 * @since 0.4
23  	 */
24  	B relevantJoints(Joint[] joints);
25  	
26  	// LUXURY maybe offer as well a method for collections: relevantJoints(Collection<Joint> joints)
27  	
28  }