Hello!
I have problem with this module.
Here is my code:
Pula - Type, Pula.Entity - the Pula's Image, PulaList - List with content - Pula. If i compile this code, the compiler says: "Unable to convert from 'TImage()' to 'TImage'"
What i must do? please help....
I have problem with this module.
Here is my code:
For a:Sprite = EachIn EnemyList
For b:Pula = EachIn PulaList
If ImagesCollide(b.entity,b.x,b.y,0,a.GetImage,a.GetX,a.GetY,0) Then
PulaList.Remove(Self)
EnemyList.Remove(Self)
EndIf
Next
Next
For b:Pula = EachIn PulaList
If ImagesCollide(b.entity,b.x,b.y,0,a.GetImage,a.GetX,a.GetY,0) Then
PulaList.Remove(Self)
EnemyList.Remove(Self)
EndIf
Next
Next
Pula - Type, Pula.Entity - the Pula's Image, PulaList - List with content - Pula. If i compile this code, the compiler says: "Unable to convert from 'TImage()' to 'TImage'"
What i must do? please help....