Proble, with Sas.SpriteBehaviors
BlitzMax Forums/BlitzMax Beginners Area/Proble, with Sas.SpriteBehaviors
| ||
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.... |
| ||
Wherever you call functions, stick a set of brackets in. eg: a.GetImage() |
| ||
Nomen luni, Thanks! It works! |