Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package game;
- /**
- *
- * @author Administrator
- */
- public class Game {
- //
- private static final String IMAGE_PATH = "c:\\images\\";
- //
- public static String getFonPath(){
- return IMAGE_PATH + "fon.jpg";
- }
- public static String getShapkaPath(){
- return IMAGE_PATH + "shapka.png";
- }
- public static String getPodarokPath(int i){
- return IMAGE_PATH + "p" + i + ".png";
- }
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- // TODO code application logic here
- // создает объект типа Okno - 2 значение параметра - уровень сложности
- Okno o = new Okno(2);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement