Example #1
0
        public bool IsWallAtPos(Vector2f world_pos)
        {
            Vector2i map = ToMapPos(world_pos);
            TileType tt  = CurrentLevel.GetTypeAtPos(map);

            return(tt == TileType.WALL);
        }