public/js-roguelike-skeleton/src/game.js
function(x, y){
            var result = [];

            var entity = this.entityManager.get(x, y);
            if(entity){
                result.push(entity);
            }

            // add items or any other objects that can be placed at a tile coord position

            return result;
        }
function(x, y){
            var result = [];

            var entity = this.entityManager.get(x, y);
            if(entity){
                result.push(entity);
            }

            // add items or any other objects that can be placed at a tile coord position

            return result;
        }
function ( x , y ) { var result = [ ] ; var entity = this . entityManager . get ( x , y ) ; if ( entity ) { result . push ( entity ) ; } // add items or any other objects that can be placed at a tile coord position return result ; }
Gets all objects at tile position
@method getObjectsAtPostion
@param  {Number} x
@param  {Number} y
@return {Array}
Gets all objects at tile position