The players field is intialized as 1 and called the roadMarking object.on move ()What is wrong?
speed is passed in the move(1).
package com.codegym.games.racer;
public class ShapeMatrix {
public static final int[][] ROAD_MARKING = new int[][]{
{2},
{2},
{2},
{2},
};
public static final int[][] PLAYER = new int[][]{
{0, 0, 123, 123, 0, 0},
{1, 0, 123, 123, 0, 1},
{1, 1, 123, 123, 1, 1},
{1, 0, 123, 123, 0, 1},
{0, 0, 123, 123, 0, 0},
{1, 0, 123, 123, 0, 1},
{1, 1, 123, 123, 1, 1},
{1, 0, 123, 123, 0, 1}
};
}