Files
cs8803p4/src/dk/itu/mario/level/generator/PlayerProfile.java
Woody Folsom e1aadadde4 Implemented stub functionality for determining player Profile, level Archetype and generating Level Components using a simple grammar.
See new method calls in MyNewLevel for an example of this level creation pipeline.
2012-03-17 11:49:50 -04:00

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;
}
}