Example #1
0
 public CompositeCommand(GlobalStateContext context) : base(context)
 {
 }
    public RotationControlAbility(GlobalStateContext context)
    {
        _context = context;

        _screenSize = new Vector3(Screen.width, Screen.height);
    }
Example #3
0
 public MockFactory(GlobalStateContext context)
 {
     _context = context;
 }
 public UnitFactory(GlobalStateContext context, IControllerFactory controllerFactory)
 {
     _context           = context;
     _controllerFactory = controllerFactory;
 }
 public ShootCommand(GlobalStateContext context) : base(context)
 {
 }
 public MoveControlAbility(GlobalStateContext context)
 {
     _context = context;
 }
 public CompositeControlAbility(GlobalStateContext context)
 {
     _context = context;
 }
 public ShootAbility(GlobalStateContext context)
 {
     _context = context;
 }
Example #9
0
 public RotateCameraCommand(GlobalStateContext context) : base(context)
 {
     offsetX = new Vector3(0, _context.Player1Config.CameraHeight, _context.Player1Config.CameraDistance);
     offsetY = new Vector3(0, 0, _context.Player1Config.CameraDistance);
 }
Example #10
0
 public MoveCommand(GlobalStateContext context) : base(context)
 {
 }
Example #11
0
 public UnitCommand(GlobalStateContext context)
 {
     _context = context;
 }
Example #12
0
 public JumpCommand(GlobalStateContext context) : base(context)
 {
 }
Example #13
0
 public JumpControlAbility(GlobalStateContext context, JumpConfig jumpConfig)
 {
     _context    = context;
     _jumpConfig = jumpConfig;
 }