Get the PC that will be used to do the counting. @return the pc
()
| 50 | * @return the pc |
| 51 | */ |
| 52 | protected PlayerCharacter getPC() |
| 53 | { |
| 54 | PlayerCharacter pc = null; |
| 55 | if (parent instanceof VariableProcessor) |
| 56 | { |
| 57 | pc = ((VariableProcessor) parent).getPc(); |
| 58 | } |
| 59 | else if (parent instanceof PlayerCharacter) |
| 60 | { |
| 61 | pc = (PlayerCharacter) parent; |
| 62 | } |
| 63 | return pc; |
| 64 | } |
| 65 | |
| 66 | /** |
| 67 | * pop maxParam parameters off the stack and populate the array. Note, this method |