Engine now detects units located on (i,j) position by type.