public class MonsterFactory extends Object
| Constructor and Description |
|---|
MonsterFactory() |
| Modifier and Type | Method and Description |
|---|---|
static AICharacterManager |
getMonster(int id,
String type)
Creates an instance of
AICharacterManager and returns a
reference to the new instance |
public static AICharacterManager getMonster(int id, String type)
AICharacterManager and returns a
reference to the new instanceid - the character's identifiertype - the chatacter's nameIllegalArgumentException - if type is not a
recognized character type.Copyright © 2013. All Rights Reserved.