This site requires JavaScript, please enable it in your browser!
Greenfoot back
Maddin

Maddin

Hamburg

Maddin's scenarios

play Survive!

Maddin's collections

This user has no collections

Recent Comments | Show All

Maddin

2013/6/14

:D
Maddin

2013/6/13

hmm.. ich bekomme eine Fehlermeldung (java.lang.IndexOutOfBoundsException: Index: 0, Size: 0) in dieser Zeile: int i_Kills=((KillCounter)getObjects(KillCounter.class).get(0)).getKills(); Code der jetzt da steht: UserInfo ui_=UserInfo.getMyInfo(); int i_Kills=((KillCounter)getObjects(KillCounter.class).get(0)).getKills(); if(ui_==null) return; if(i_Kills>ui_.getScore()) { ui_.setScore(i_Kills); ui_.store(); }