diff options
author | Pacien TRAN-GIRARD | 2014-02-06 23:23:10 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-02-06 23:23:10 +0100 |
commit | a9a0e94e916fc3627d212321d9dd880d772b77a0 (patch) | |
tree | 7383903fb5fb8ebf7863f3b580692bf90487fb63 | |
parent | 9cbcaa9d9170677eb24f329fda2eac0b49299fc3 (diff) | |
download | esieequest-a9a0e94e916fc3627d212321d9dd880d772b77a0.tar.gz |
Add dummy Main class and package
-rw-r--r-- | game/esieequest/Main.java | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/game/esieequest/Main.java b/game/esieequest/Main.java new file mode 100644 index 0000000..bee1dc9 --- /dev/null +++ b/game/esieequest/Main.java | |||
@@ -0,0 +1,35 @@ | |||
1 | package esieequest; | ||
2 | |||
3 | |||
4 | /** | ||
5 | * Write a description of class Main here. | ||
6 | * | ||
7 | * @author (your name) | ||
8 | * @version (a version number or a date) | ||
9 | */ | ||
10 | public class Main | ||
11 | { | ||
12 | // instance variables - replace the example below with your own | ||
13 | private int x; | ||
14 | |||
15 | /** | ||
16 | * Constructor for objects of class Main | ||
17 | */ | ||
18 | public Main() | ||
19 | { | ||
20 | // initialise instance variables | ||
21 | x = 0; | ||
22 | } | ||
23 | |||
24 | /** | ||
25 | * An example of a method - replace this comment with your own | ||
26 | * | ||
27 | * @param y a sample parameter for a method | ||
28 | * @return the sum of x and y | ||
29 | */ | ||
30 | public int sampleMethod(int y) | ||
31 | { | ||
32 | // put your code here | ||
33 | return x + y; | ||
34 | } | ||
35 | } | ||