-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMove.java
42 lines (37 loc) · 798 Bytes
/
Move.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*H****************************************************************
* FILENAME : Move.java
*
* DESCRIPTION :
* Stores information about a particular move
*
* PUBLIC FUNCTIONS :
* void setScore( int )
* int getScore( )
* void setMove( int )
* int getMove( )
*
* NOTES :
* Each move has a number representing the
* column and a score value.
*
* Copyright 2019, Jacob Wilkins. All rights reserved.
*
* AUTHOR : Jacob Wilkins START DATE : 4 Mar 19
*
*H*/
public class Move {
int move;
int score;
public void setScore(int scoreSet) {
score = scoreSet;
}
public int getScore() {
return score;
}
public void setMove(int moveSet) {
move = moveSet;
}
public int getMove() {
return move;
}
}