Exemplo n.º 1
0
        /// <summary>
        /// Creates a new player.
        /// </summary>
        public ScrollerPlayer CreateNewPlayer()
        {
            var            playerEntity = ScrollerPlayer.LoadPlayerEntity();
            ScrollerPlayer player       = new ScrollerPlayer(playerEntity);

            this.AddPlayer(player);
            ScrollerBinds.CreateBinds(player);
            return(player);
        }
 /// <summary>
 /// Creates and returns the binds for the specified player.
 /// </summary>
 public static void CreateBinds(ScrollerPlayer player)
 {
     var binds = new ScrollerBinds(player);
 }