protected override void Arrange() { _rndMock = new Mock<IRnd>(); _rndMock.Setup(r => r.NextX()).Returns(-50); _rndMock.Setup(r => r.NextY()).Returns(-50); _worldMatrix = new WorldMatrix(); _worldMatrix.Notify(new GameTime(new DateTime(2014, 2, 23, 20, 0, 0, 0), 100)); _monster = new LargeMonster(_worldMatrix, _rndMock.Object); _worldMatrix.Add(_oldLocation, _monster); }
protected override void Arrange() { _worldMatrix = new WorldMatrix(); _theMonster = new LargeMonster(_worldMatrix, new Rnd(200,200)); }