Thread
:
Bullets number variable
View Single Post
#
2
(permalink)
legolizard
Senior Member
Status:
Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
08-18-2011, 12:32 PM
This is because every time you call fro your method you create a
new
bullets variable. Just make this variable global(make it a world variable) and then use it.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein
legolizard
View Public Profile
Send a private message to legolizard
Find all posts by legolizard