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