public override void activate(GameInit gameInit, Character interactingCharacter, int activationCode) { if (locked) { chatWindow = true; if (false) { messageBlockIndex = 1; locked = false; } else { messageBlockIndex = 0; } } else { finishedActivating = false; if (orientation == 0) { animation.setNewAnimation(2); } else { animation.setNewAnimation(3); } } }
public Character createCharacter(int type, int subtype) { Character character; if (type == 0) { character = new Character(0, new HumanoidCharacterAnimations(subtype, humAnimations)); } else { character = new Character(0, new HumanoidCharacterAnimations(subtype, humAnimations)); } return character; }
public void addPartyMember(Character character) { partyMembers.Add(character); }
public abstract void activate(GameInit gameInit, Character interactingCharacter, int activationCode);
public abstract void continueActivation(GameInit gameInit, Character interactingCharacter);
public override void continueActivation(GameInit gameInit, Character interactingCharacter) { }
public override void activate(GameInit gameInit, Character interactingCharacter, int activationCode) { }
public override void continueActivation(GameInit gameInit, Character interactingCharacter) { animation.advanceAnimation(); if (animation.isAnimationFinished()) { finishedActivating = true; } }
public void addCharacter(Character character, int x, int y) { trafficMap.getCharacterBooleanMap()[x, y] = true; trafficMap.getCharacterMap()[x, y] = character; }