snake even more easy

This commit is contained in:
Chiss 2013-12-22 00:02:38 +11:00
parent 3bd7a7cd1f
commit b895c66005

View File

@ -68,7 +68,7 @@ public class Snake
//Set Block
MapUtil.QuickChangeBlockAt(_path.get(_index), 35, GetColor());
int back = _index - 9;
int back = _index - 10;
if (back < 0)
back += _path.size();
@ -83,7 +83,7 @@ public class Snake
//Set Block
MapUtil.QuickChangeBlockAt(_path.get(newIndex), 35, GetColor());
back = newIndex - 9;
back = newIndex - 10;
if (back < 0)
back += _path.size();