Instead I would do something like:Originally Posted by Huehnerschaender
Where lastIndex is not necessarily equal to high(enemys), just points to the last assigned element and the array can have any given size.Code:for i := 0 to lastIndex do enemys[i].update(time_);
Bookmarks