Пример #1
0
 public NpcCloseMessageCommand(NpcBase npc) : base(npc)
 {
 }
Пример #2
0
 public NpcExecuteActionCommand(NpcBase npc, Action action) : base(npc)
 {
     _action = action;
 }
Пример #3
0
 public NpcMessageTargetCommand(NpcBase npc, Entity target, string text, float maxWidth) : base(npc)
 {
     _text                = text;
     _maxWidth            = maxWidth;
     _textWindowComponent = target.getComponent <TextWindowComponent>();
 }
Пример #4
0
 public NpcHideTextureCommand(NpcBase npc, bool hide) : base(npc)
 {
     _hide = hide;
 }
Пример #5
0
 public NpcMapTransferCommand(NpcBase npc, int mapId, int mapX, int mapY) : base(npc)
 {
     _mapId = mapId;
     _mapX  = mapX;
     _mapY  = mapY;
 }
Пример #6
0
 public NpcMovePlayerCommand(NpcBase npc, Vector2 velocity) : base(npc)
 {
     _velocity = velocity;
 }
Пример #7
0
 public NpcMessageCommand(NpcBase npc, string text, float maxWidth) : base(npc)
 {
     _text     = text;
     _maxWidth = maxWidth;
 }
Пример #8
0
 public NpcFocusCameraCommand(NpcBase npc, Entity target) : base(npc)
 {
     _target = target;
 }
Пример #9
0
 public NpcCinematicCommand(NpcBase npc, float amount, float duration, bool isIn) : base(npc)
 {
     _amount   = amount;
     _duration = duration;
     _isIn     = isIn;
 }
Пример #10
0
 public NpcSetVariableCommand(NpcBase npc, bool isLocal, string name, int value) : base(npc)
 {
     _isLocal = isLocal;
     _name    = name;
     _value   = value;
 }
Пример #11
0
 public NpcSetSwitchCommand(NpcBase npc, bool isLocal, string name, bool value) : base(npc)
 {
     _isLocal = isLocal;
     _name    = name;
     _value   = value;
 }
Пример #12
0
 public NpcCommand(NpcBase npc)
 {
     _npc = npc;
 }
Пример #13
0
 public NpcWaitCommand(NpcBase npc, float duration) : base(npc)
 {
     _duration = duration;
 }
Пример #14
0
 public NpcCloseTargetMessageCommand(NpcBase npc, Entity target) : base(npc)
 {
     _textWindowComponent = target.getComponent <TextWindowComponent>();
 }