Example #1
0
        public void Initializable(IPlayerBallDef playerBallDef)
        {
            var modeSpeed = playerBallDef.CheckNull().MoveSpeed;

            ForwardVelocity = new Vector3(-modeSpeed, 0, 0);
            RightVelocity   = new Vector3(0, 0, modeSpeed);
        }
Example #2
0
 private void Construct(IGameStatusObserver gameStatusObserver, IPlayerBallDef playerBallDef)
 {
     GameStatusObserver = gameStatusObserver.CheckNull();
     PlayerBallDef      = playerBallDef.CheckNull();
 }
Example #3
0
 public GameConfigurator(IGameDef gameDef, IPlayerBallDef playerBallDef)
 {
     GameDef       = gameDef.CheckNull();
     PlayerBallDef = playerBallDef.CheckNull();
 }
Example #4
0
 public void GameInitialize(IGameConfigurator configurator)
 {
     _gameDef      = configurator.GameDef;
     PlayerBallDef = configurator.PlayerBallDef;
 }