예제 #1
0
        private void btnRemoveObjectAddress_Click(object sender, EventArgs e)
        {
            BehaviourForm beh = new BehaviourForm(3, removeAddresses);

            beh.ShowDialog();

            removeAddresses = beh.getRemoved();
        }
예제 #2
0
        private void btnEditGroundedObjects_Click(object sender, EventArgs e)
        {
            BehaviourForm beh = new BehaviourForm(1, groundedWithNames);

            beh.ShowDialog();

            groundedWithNames = beh.getGrounded();
        }
예제 #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            BehaviourForm beh = new BehaviourForm(0, behavioursWithNames);

            beh.ShowDialog();

            behavioursWithNames = beh.getNonGrounded();
        }
예제 #4
0
        private void btnEditWarpObjects_Click(object sender, EventArgs e)
        {
            BehaviourForm beh = new BehaviourForm(2, warpingBehavioursWithNames);

            beh.ShowDialog();

            warpingBehavioursWithNames = beh.getWarps();
            warpingBehaviours          = warpingBehavioursWithNames.Select(x => Convert.ToInt32(x.Split(new char[] { ':' })[0].Trim(), 16)).ToList();
        }