public Command ( |
||
sh | ||
th | ||
a | System.Action | |
리턴 | System |
public Command(Hex3D sh, Hex3D th, Action a)
{
if( sh != null) start = new Tuple<int,int,int>(sh.hexgrid.index,sh.x,sh.y);
if (th != null) target = new Tuple<int, int, int>(th.hexgrid.index, th.x, th.y);
action = a;
}
Command::Command ( |