Proble, with Sas.SpriteBehaviors

BlitzMax Forums/BlitzMax Beginners Area/Proble, with Sas.SpriteBehaviors

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hello!
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

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....