mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Added a class for the marker, and added documentation
- Added documentation for the Race class - Added a class for the Marker instead of just storing the name of the marker in a string Tags: #docs #implement #story[4]
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package seng302;
|
||||
|
||||
class Marker{
|
||||
private String name;
|
||||
|
||||
public Marker(String name){
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public void setName(String name){
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName(){
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user