I'm writing a cell phone game and I have an enemy class, and in that class I'd like to have a die() function where that specific object nulls itself out.
So like I'd go Enemy blah = new Enemy();
blah.die()
And then blah would = null..is there any way to do that?
So like I'd go Enemy blah = new Enemy();
blah.die()
And then blah would = null..is there any way to do that?
