Utilities for tower defense game.