Example #1
0
 public NpcLockEvent(NpcCharacterId npcId)
 {
     NpcId = npcId;
 }
Example #2
0
 public StartDialogueEvent(NpcCharacterId npcId) => NpcId = npcId;
Example #3
0
 public NpcEnteredTileEvent(NpcCharacterId id, int x, int y)
 {
     Id = id;
     X  = x;
     Y  = y;
 }
Example #4
0
 public NpcTurnEvent(NpcCharacterId npcId, int direction)
 {
     NpcId = npcId; Direction = direction;
 }
Example #5
0
 public NpcTextEvent(NpcCharacterId npcId, byte textId)
 {
     TextId = textId;
     NpcId  = npcId;
 }
Example #6
0
 public NpcMoveEvent(NpcCharacterId npcId, int x, int y)
 {
     NpcId = npcId; X = x; Y = y;
 }
Example #7
0
 public NpcJumpEvent(NpcCharacterId npcId, int?x, int?y)
 {
     NpcId = npcId; X = x; Y = y;
 }
Example #8
0
 public NpcTextEvent(NpcCharacterId npcId, int textId)
 {
     NpcId = npcId; TextId = textId;
 }
Example #9
0
 public ICharacterSheet GetNpc(NpcCharacterId id) => _game != null && _game.NpcStats.TryGetValue(id, out var sheet) ? sheet : null;
Example #10
0
 public Npc(NpcCharacterId npcId) => NpcId = npcId;
Example #11
0
 public NpcOffEvent(NpcCharacterId npcId)
 {
     NpcId = npcId;
 }
Example #12
0
 public TriggerChainEvent(EventChain chain, IEventNode node, NpcCharacterId npcId)
     : this(chain, node, new EventSource.Npc(npcId))
 {
 }