Initial check-in
This commit is contained in:
16
src/Player.java
Normal file
16
src/Player.java
Normal file
@@ -0,0 +1,16 @@
|
||||
import java.io.Serializable;
|
||||
|
||||
public class Player extends Person implements Serializable {
|
||||
boolean isPlayer = true;
|
||||
Location current;
|
||||
|
||||
Player(String name, int age, boolean isMale, boolean isFemale, Location current) {
|
||||
super();
|
||||
this.name = name;
|
||||
this.age = age;
|
||||
this.isMale = isMale;
|
||||
this.isFemale = isFemale;
|
||||
this.heath = 100;
|
||||
this.current = current;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user