package com.l2client.gui.actions;
import com.jme3.input.InputManager;
import com.jme3.input.KeyInput;
import com.jme3.input.controls.KeyTrigger;
public class SitStandAction extends Action {
public SitStandAction(int id, String actionName) {
super(id, actionName);
// TODO Auto-generated constructor stub
}
@Override
public void addKeyMapping(InputManager man) {
man.addMapping("SitStandAction", new KeyTrigger(KeyInput.KEY_S));
man.addListener(this, "SitStandAction");
}
@Override
public void removeKeyMapping(InputManager man) {
man.deleteMapping("SitStandAction");
man.removeListener(this);
}
@Override
public void onAction(String name, boolean isPressed, float tpf) {
// TODO Auto-generated method stub
}
}