This site requires JavaScript, please enable it in your browser!
Greenfoot back
winmife
winmife wrote ...

2019/1/2

Hallo, ich versuche schon seit mehreren Stunden einen Fehler zu lösen und komme nicht drauf :(

winmife winmife

2019/1/2

#
Hier der folgende Code: "Reached end of file while parsing"
danpost danpost

2019/1/2

#
winmife wrote...
Hier der folgende Code: << Image Omitted >> "Reached end of file while parsing"
You are missing a squiggly bracket ('}') to close out the class.
winmife winmife

2019/1/2

#
Im really a beginner in this typ of things, could you say me exactly where I have to set the }. Thanks :)
danpost danpost

2019/1/3

#
winmife wrote...
Im really a beginner in this typ of things, could you say me exactly where I have to set the }.
At the end (bottom) of the class.
winmife winmife

2019/1/3

#
right under this? If yes, im getting many errors after that. :/
danpost danpost

2019/1/3

#
winmife wrote...
right under this? If yes, im getting many errors after that. :/
No. All the way down -- at the "ende".
Super_Hippo Super_Hippo

2019/1/3

#
Ich kann mir nicht vorstellen, dass du dort absichtlich zweimal die Klasse "ball" erstellst... lösche eins davon raus und es passt wieder. Momentan hast du zweimal den Beginn "{" und nur einmal das Ende "}" der Klassen-Blöcke. Aber im Endeffekt möchtest du sie ohnehin nur einmal. Wenn du hier Bilder posten möchtest, musst du den Link zum Bild innerhalb der 'img'-tags packen, nicht die Seite, auf der u. a. das Bild zu sehen ist. Dazu klickst du oben auf der Seite mit dem Bild auf "Share" und dann "Direct Link". Dann hast du den Link in deiner Zwischenablage und kannst ihn hier einfügen.
winmife winmife

2019/1/3

#
public class ball extends Actor { <---- das hier ganz oben rauslöschen richtig?
Super_Hippo Super_Hippo

2019/1/5

#
Ja.
You need to login to post a reply.