23 lines
424 B
Java
23 lines
424 B
Java
package de.joethei.monopoly.fields;
|
|
|
|
import de.joethei.monopoly.action.Action;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
public class Field {
|
|
|
|
private ArrayList<Action> actions = new ArrayList<>();
|
|
private String name;
|
|
|
|
public Field(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public ArrayList<Action> getActions() {
|
|
return this.actions;
|
|
}
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
} |