/// <summary>
        /// changes vector to to a cell point
        /// </summary>
        /// <param name="entity"></param>
        /// <returns></returns>
        Point PositionToCell(Entity.Entity entity)
        {
            int cellX = (int)(entity.GetEntityPosition().X / (partitionSize * ((partitionSize * partitionSize) * 8)) / partitionSize);
            int cellY = (int)(entity.GetEntityPosition().Y / (partitionSize * ((partitionSize * partitionSize) * 8)) / partitionSize);

            return(new Point(cellX, cellY));
        }