Example #1
0
        public void Should_generate_new_pointBlip()
        {
            Player.Cords.X = 0;
            Player.Cords.Y = 0;

            var pointBlip = new PointBlip(10, new Cords { X = 10, Y = 0 });

            Board.PointBlip = pointBlip;

            Board.MovePlayer(Player.Id.ToString(), Directions.Right);

            Assert.AreNotEqual(pointBlip, Board.PointBlip);
        }
Example #2
0
 private void NewPointBlip()
 {
     PointBlip = new PointBlip(Settings.PlayerSize, RandomPosition(Settings.PlayerSize));
 }