Re: [Tutor] Killing an instance

2007-09-14 Thread Kent Johnson
Ara Kooser wrote: I have two instances called and running. They interact with each other and I would like one of the instances to cease to exist in the second round based on a given condition. How do you kill an instance? What you really need is for your main code to stop using the

[Tutor] Killing an instance

2007-09-13 Thread Ara Kooser
I have two instances called and running. They interact with each other and I would like one of the instances to cease to exist in the second round based on a given condition. How do you kill an instance? The code is below. I have Red and Yellow as my instances and I want them to die when

Re: [Tutor] Killing an instance

2007-09-13 Thread Alan Gauld
Ara Kooser [EMAIL PROTECTED] wrote I have two instances called and running. They interact with each other and I would like one of the instances to cease to exist in the second round based on a given condition. How do you kill an instance? Either set the variable to something else or

Re: [Tutor] Killing an instance

2007-09-13 Thread Alan Gauld
Ara Kooser [EMAIL PROTECTED] wrote The code is below. I have Red and Yellow as my instances and I want them to die when life = 0 and not show up in the preceding rounds of the game. I'm not sure I understand this last bit. Won't they already have shown up in the preceding bits of the