he I was just going to come and ask if I could use
'For this.enemy=Each enemy' type of thing, then you all answered for me
hmm select case confuses me a little . i get the principle , but then it confuses me whe applying it to my code.
I just have one attack right now which is a punch and one enemy grunt type, all grunts will have all the same properties( for now)
is it best to make a one generic type for enemy or if you have say a buttefly/badger/human etc would I make a seperate type for each one or just lump them all as 'enemy'
but have lots of properties/fields in that one type
I will go and try and make it work now.
thanks for the help so far guys
the id stuff seems very helpful.
'For this.enemy=Each enemy' type of thing, then you all answered for me
hmm select case confuses me a little . i get the principle , but then it confuses me whe applying it to my code.
I just have one attack right now which is a punch and one enemy grunt type, all grunts will have all the same properties( for now)
is it best to make a one generic type for enemy or if you have say a buttefly/badger/human etc would I make a seperate type for each one or just lump them all as 'enemy'
but have lots of properties/fields in that one type
I will go and try and make it work now.
thanks for the help so far guys
the id stuff seems very helpful.