view src/alice/datasegment/KeyCommand.java @ 139:f995396f2af7 working

remove bug
author sugi
date Tue, 18 Sep 2012 16:19:50 +0900
parents 1d4f2b72fb31
children
line wrap: on
line source

package alice.datasegment;

public class KeyCommand {
	
	DataSegmentKey key;
	Command cmd;
	
	public KeyCommand(DataSegmentKey key, Command cmd) {
		this.key = key;
		this.cmd = cmd;
	}
	
	public void runCommand() {
		key.runCommand(cmd);
	}
	
}