コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }