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