package com.javarush.games.minesweeper;
import com.javarush.engine.cell.*;
public class MinesweeperGame extends Game {
private static final int SIDE=9;
public void initialize( ){
setScreenSize(SIDE, SIDE);
public class GameObject {
public int x;
public int y;
public GameObject(int x,int y)
{
this.x=x;
this.y=y;
}
}}}
Что не так??
Івасик Ілля
15 уровень
HEEELLLPPP.Что не так?
Обсуждается
Комментарии (4)
- популярные
- новые
- старые
Для того, чтобы оставить комментарий Вы должны авторизоваться
Sergey MorozExpert
5 января 2019, 00:09
объявление паблик класса внутри метода? в чем цимес такого "конструктивного" решения?
0
Івасик Ілля
5 января 2019, 08:23
package com.javarush.games.minesweeper;
import com.javarush.engine.cell.*;
public class MinesweeperGame extends Game {
private static final int SIDE=9;
public void initialize( ){
setScreenSize(SIDE, SIDE);
}}
public class GameObject {
int x;
int y;
public GameObject(int x,int y)
{
this.x=x;
this.y=y;
}
}
так верно?
0
Івасик Ілля
5 января 2019, 08:24
ошибка опять
0
Івасик Ілля
5 января 2019, 08:56
Все,понял,я не создал класс
0