Hey, i'm trying to create a game where I need to be able to
spawn a bunch of different kinds of enemies so i figured i'd write
a function to create an enemy. I've attached what I came up with.
now i'm assuming the problem is with these 2 lines. Am I
allowd to pass data to a function and use it this way? Is there a
special way I'd go about doing it? Can anybody suggest a better way
to write this code? Thanks.