Inheritance

BlitzMax Forums/BlitzMax Programming/Inheritance

	Method updateProjectiles()
		For p:projectile = EachIn projectiles
			DebugStop()
			If p.dead Then 
				ListRemove(projectiles, p)
			Else
				p.update(deltaT)
			End If
		Next
	End Method


That was the original source, thats a method in Simulation which has a list of projectiles which it runs through, I've verified that it makes it to the line right p.update(deltaT)

Also, in the post above yours I have it being called not from an item in a list.