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

jabirfatah91

Kristianstad University, Kristianstad

jabirfatah91's collections

This user has no collections

Recent Comments | Show All

jabirfatah91

2012/11/22

OHH! Those were helpful for me too. But more questions has been discovered. Form the "Board" class. 1. What does "addArray" method do? 2. What does this line "System.arraycopy(snake, 0, newSnake, 0, snake.length);" mean? 3. What the sign "<>" is used and what the line "List<Item> item = getObjects(Item.class);" does actually? From the "Item" class: 1. by referring this line "Actor item = getOneIntersectingObject(Wall.class);"- why "Wall.class" is used to get an intersecting object? Souldn't it be "Snake.class"?
jabirfatah91

2012/11/18

Hi does your snake consist of two body segments from the game starting?