(quest: Quest)
| 227 | } |
| 228 | |
| 229 | public loadCharacter(quest: Quest): void{ |
| 230 | // Set the quest |
| 231 | this.setQuest(quest); |
| 232 | |
| 233 | // Add the quest entity weapon |
| 234 | this.addQuestEntityWeapon(this.getQuestEntityWeapon(this.getQuest())); |
| 235 | |
| 236 | // Set the team |
| 237 | this.setTeam(QuestEntityTeam.PLAYER); |
| 238 | } |
| 239 | |
| 240 | public loadMediumCharacter(quest: Quest, firstTime: boolean = true): void{ |
| 241 | // Set the type |
no test coverage detected