SofaRightwardAction.java :  » Game » mobicsensormonitor » cn » edu » nju » software » kernel » action » sofa » Android Open Source

Android Open Source » Game » mobicsensormonitor 
mobicsensormonitor » cn » edu » nju » software » kernel » action » sofa » SofaRightwardAction.java
/*
 * Copyright: Copyright (c) 2010 Pzhs2
 * File Name      : SofaRightwardAction.java
 * Author         : Suing
 * Finish Date    : 2010/12/15
 * Maintainer     : Suing
 * Maintain Date  : 
 * Maintain Reason: 
 * Current Version: 1.0
 * Before Version : 
 */
package cn.edu.nju.software.kernel.action.sofa;

import cn.edu.nju.software.kernel.action.Action;

/**
 * This abstract class defines the base elements of rightward action in sofa-
 * mode
 * 
 * @author Suing
 * 
 * @version 1.0, 2010/12/15
 * 
 */
public abstract class SofaRightwardAction extends Action {  

  /**
   * Define the ID of this action.
   */
  @Override
  public String getID() {
    return "SofaRightwardAction";
  }
  
  /**
   * Define the motion type that corresponds this action.
   * @return String: the motion type
   */
  @Override
  public String getMotionType() {
    return "SofaModeMotion,"+Action.SOFA_RIGHT;
  }
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.