Modifier and Type | Class and Description |
---|---|
static class |
Player.Position |
Modifier and Type | Field and Description |
---|---|
private int |
id |
private Person |
person |
private Player.Position |
position |
Constructor and Description |
---|
Player() |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
Person |
getPerson() |
Player.Position |
getPosition() |
void |
setPerson(Person person) |
void |
setPosition(Player.Position position) |
private int id
private Player.Position position
private Person person
public int getId()
public Person getPerson()
public void setPerson(Person person)
public Player.Position getPosition()
public void setPosition(Player.Position position)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.