Maxbe 'stupid' ... But I'm dealing with it !
---------------------------------------- Type ptrRecord = ^theRecord; Type theRecord = record move : ProcPtr; hit : ProcPtr end;
Procedure moveIt; Begin end;
Procedure hitIt; Begin end;
Procedure Init; Begin object^.move := @moveIt; object^.hit := @hitIt end;
Procedure Run; Begin repeat with object^ do ???? Until ... End; ----------------------------------------
HOW can I make the actions point to moveIt and hitIt ?
HOW is it possible to call the ProcPtr's procedures (Osx.3, GNU pascal) ?
If you can help me, thank you !
Alain