30 lines
685 B
Java
30 lines
685 B
Java
package dk.itu.mario.level.generator;
|
|
|
|
public class PlayerProfile {
|
|
//From Bartle/Yee models of player psychology: achiever, killer, explorer, manipulator
|
|
public enum TYPE { RUNNER, SHOOTER, JUMPER, BUMPER}
|
|
//Dreyfus model of skill acquisition:
|
|
public enum SKILL_LEVEL { NOVICE, BEGINNER, COMPETENT, PROFICIENT, EXPERT}
|
|
|
|
private SKILL_LEVEL skillLevel;
|
|
private TYPE type;
|
|
|
|
public PlayerProfile(SKILL_LEVEL skillLevel, TYPE type) {
|
|
this.skillLevel = skillLevel;
|
|
this .type = type;
|
|
}
|
|
|
|
public SKILL_LEVEL getSkillLevel() {
|
|
return skillLevel;
|
|
}
|
|
|
|
public TYPE getType() {
|
|
return type;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return skillLevel + " " + type;
|
|
}
|
|
}
|