예제 #1
0
        public void OnAddItem_AddsItem()
        {
            var item          = new TestBoardItem(Vector2Int.one);
            var boardRegistry = new BoardRegistry <TestBoardItem>();

            boardRegistry.Add(item);

            Assert.That(boardRegistry.Exists(item));
        }
예제 #2
0
 public bool Exists(IActor actor)
 {
     return(_actors.Exists(actor));
 }