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

            beh.ShowDialog();

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

            beh.ShowDialog();

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

            beh.ShowDialog();

            behavioursWithNames = beh.getNonGrounded();
        }
Example #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();
        }