fix code :)

hello how do you fix this?
No description
3 Replies
JavaBot
JavaBot4mo ago
This post has been reserved for your question.
Hey @Sa! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Sa
SaOP4mo ago
public static <T extends ScreenUpdatable> void updateScreenUpdatable(Array<T> items, float delta) {
for(T item : items) {
if (item.isDestroyed())
items.removeValue(item, true);
else
item.update(delta);
}
}
public static <T extends ScreenUpdatable> void updateScreenUpdatable(Array<T> items, float delta) {
for(T item : items) {
if (item.isDestroyed())
items.removeValue(item, true);
else
item.update(delta);
}
}
this works
JavaBot
JavaBot4mo ago
Post Closed
This post has been closed by <@435589921328201728>.

Did you find this page helpful?