import os

import pyxel

from foxtrot import log

logger = log.create_logger(__name__)


def assets_path():
    path = os.path.dirname(os.path.realpath(__file__))
    return os.path.join(path, "..", "..", "assets")


def asset_path(path):
    return os.path.join(assets_path(), path)


def load_assets():
    path = asset_path("tiles.png")
    logger.debug("Loading gameplay asset: %s", path)
    pyxel.image(0).load(0, 0, path)

efb3fd51508f8092b186afb3599a2f765b38a635
<mask token>


def asset_path(path):
    return os.path.join(assets_path(), path)


def load_assets():
    path = asset_path('tiles.png')
    logger.debug('Loading gameplay asset: %s', path)
    pyxel.image(0).load(0, 0, path)

<mask token>


def assets_path():
    path = os.path.dirname(os.path.realpath(__file__))
    return os.path.join(path, '..', '..', 'assets')


def asset_path(path):
    return os.path.join(assets_path(), path)


def load_assets():
    path = asset_path('tiles.png')
    logger.debug('Loading gameplay asset: %s', path)
    pyxel.image(0).load(0, 0, path)

<mask token>
logger = log.create_logger(__name__)


def assets_path():
    path = os.path.dirname(os.path.realpath(__file__))
    return os.path.join(path, '..', '..', 'assets')


def asset_path(path):
    return os.path.join(assets_path(), path)


def load_assets():
    path = asset_path('tiles.png')
    logger.debug('Loading gameplay asset: %s', path)
    pyxel.image(0).load(0, 0, path)

import os
import pyxel
from foxtrot import log
logger = log.create_logger(__name__)


def assets_path():
    path = os.path.dirname(os.path.realpath(__file__))
    return os.path.join(path, '..', '..', 'assets')


def asset_path(path):
    return os.path.join(assets_path(), path)


def load_assets():
    path = asset_path('tiles.png')
    logger.debug('Loading gameplay asset: %s', path)
    pyxel.image(0).load(0, 0, path)

import os

import pyxel

from foxtrot import log

logger = log.create_logger(__name__)


def assets_path():
    path = os.path.dirname(os.path.realpath(__file__))
    return os.path.join(path, "..", "..", "assets")


def asset_path(path):
    return os.path.join(assets_path(), path)


def load_assets():
    path = asset_path("tiles.png")
    logger.debug("Loading gameplay asset: %s", path)
    pyxel.image(0).load(0, 0, path)
