pls the first 3 requirements are not working
I have created a new object, initialize the game field and set the direction to down...
what else do they want
package com.codegym.task.task23.task2312;
public class Room {
//creating description for the snake and room
private int width;
private int height;
private static Snake snake;
private Mouse mouse;
public static Room game;
public int getWidth(){
return width;
}
public int getHeight(){
return height;
}
public Snake getSnake(){
return snake;
}
public Mouse getMouse(){
return mouse;
}
public void setWidth(int width){
this.width = width;
}
public void setHeight(int height){
this.height = height;
}
public void setSnake(Snake snake){
this.snake = snake;
}
public void setMouse(Mouse mouse){
this.mouse = mouse;
}
public Room(int width,int height, Snake snake){
this.width = width;
this.height = height;
this.snake = snake;
}
public void run(){
}
public void print(){
}
public static void main(String[] args) {
Snake snakes = new Snake(0,0);
snake.setDirection(SnakeDirection.DOWN); //setting the direction of the snake
game = new Room(10,10,snake); //initialising the game field
}
}