public EntityCommands(CommandsGeneratorTemplate cmdGenerator) { InitializeComponent(); LocX_sp.setNeighbour(null, LocZ_sp); LocZ_sp.setNeighbour(LocX_sp, null); LocX_tp.setNeighbour(null, LocY_tp); LocY_tp.setNeighbour(LocX_tp, LocZ_tp); LocZ_tp.setNeighbour(LocY_tp, null); CmdGenerator = cmdGenerator; }
public PlayerCommands(CommandsGeneratorTemplate cmdGenerator) { InitializeComponent(); LocX_sp.setNeighbour(null, LocY_sp); LocY_sp.setNeighbour(LocX_sp, LocZ_sp); LocZ_sp.setNeighbour(LocY_sp, null); LocX.setNeighbour(null, LocY); LocY.setNeighbour(LocX, LocZ); LocZ.setNeighbour(LocY, null); CmdGenerator = cmdGenerator; }