/*
* Copyright: Copyright (c) 2010 Pzhs2
* File Name : SofaShootAction.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 shoot action in sofa-
* mode
*
* @author Suing
*
* @version 1.0, 2010/12/15
*
*/
public abstract class SofaShootAction extends Action {
/**
* Define the ID of this action.
*/
@Override
public String getID() {
return "SofaShootAction";
}
/**
* Define the motion type that corresponds this action.
* @return String: the motion type
*/
@Override
public String getMotionType() {
return "SofaModeMotion," + Action.KEYCODE_DPAD_CENTER;
}
}
|