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

        _screenSize = new Vector3(Screen.width, Screen.height);
    }
Exemple #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;
 }
Exemple #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);
 }
 public MoveCommand(GlobalStateContext context) : base(context)
 {
 }
Exemple #11
0
 public UnitCommand(GlobalStateContext context)
 {
     _context = context;
 }
 public JumpCommand(GlobalStateContext context) : base(context)
 {
 }
Exemple #13
0
 public JumpControlAbility(GlobalStateContext context, JumpConfig jumpConfig)
 {
     _context    = context;
     _jumpConfig = jumpConfig;
 }