예제 #1
0
파일: mapgen.py 프로젝트: ajare/citadel
def create_laminate_floor(x, y):
    tile = Tile()
    tile.type        = TileType.LAMINATE_FLOOR
    tile.block_sight = False
    tile.block_move  = False
    tile.char        = ' '
    tile.fcolour     = libtcod.Color(140, 140, 190)
    tile.bcolour     = libtcod.Color(140, 140, 190)
    return tile
예제 #2
0
파일: mapgen.py 프로젝트: ajare/citadel
def create_desk(x, y):
    tile = Tile()
    tile.type        = TileType.DESK
    tile.block_sight = False
    tile.block_move  = True
    tile.char        = ' '
    tile.fcolour     = libtcod.Color(120, 120, 120)
    tile.bcolour     = libtcod.Color(120, 120, 120)
    return tile
예제 #3
0
파일: mapgen.py 프로젝트: ajare/citadel
def create_dark_grass(x, y):
    tile = Tile()
    tile.type        = TileType.GRASS
    tile.block_sight = False
    tile.block_move  = False
    tile.char        = ' '
    tile.fcolour     = libtcod.Color(0, 108, 0)
    tile.bcolour     = libtcod.Color(0, 108, 0)
    return tile
예제 #4
0
def create_laminate_floor(x, y):
    tile = Tile()
    tile.type = TileType.LAMINATE_FLOOR
    tile.block_sight = False
    tile.block_move = False
    tile.char = ' '
    tile.fcolour = libtcod.Color(140, 140, 190)
    tile.bcolour = libtcod.Color(140, 140, 190)
    return tile
예제 #5
0
파일: mapgen.py 프로젝트: ajare/citadel
def create_wall(x, y):
    tile = Tile()
    tile.type        = TileType.WALL
    tile.block_sight = True
    tile.block_move  = True
    tile.char        = ' '
    tile.fcolour     = libtcod.Color(96, 96, 96)
    tile.bcolour     = libtcod.Color(96, 96, 96)
    return tile
예제 #6
0
def create_dark_grass(x, y):
    tile = Tile()
    tile.type = TileType.GRASS
    tile.block_sight = False
    tile.block_move = False
    tile.char = ' '
    tile.fcolour = libtcod.Color(0, 108, 0)
    tile.bcolour = libtcod.Color(0, 108, 0)
    return tile
예제 #7
0
def create_desk(x, y):
    tile = Tile()
    tile.type = TileType.DESK
    tile.block_sight = False
    tile.block_move = True
    tile.char = ' '
    tile.fcolour = libtcod.Color(120, 120, 120)
    tile.bcolour = libtcod.Color(120, 120, 120)
    return tile
예제 #8
0
def create_wall(x, y):
    tile = Tile()
    tile.type = TileType.WALL
    tile.block_sight = True
    tile.block_move = True
    tile.char = ' '
    tile.fcolour = libtcod.Color(96, 96, 96)
    tile.bcolour = libtcod.Color(96, 96, 96)
    return tile
예제 #9
0
파일: mapgen.py 프로젝트: ajare/citadel
def create_door(x, y):
    tile = Tile()
    tile.type        = TileType.DOOR
    tile.block_sight = False
    tile.block_move  = False
    tile.char        = ' '
    tile.fcolour     = libtcod.Color(140, 140, 190)
    tile.bcolour     = libtcod.Color(140, 140, 190)
    tile.door        = Door()
    return tile
예제 #10
0
파일: mapgen.py 프로젝트: ajare/citadel
def create_window(x, y):
    tile = Tile()
    tile.type        = TileType.WINDOW
    tile.block_sight = False
    tile.block_move  = True
    tile.char        = ' '
    tile.fcolour     = libtcod.Color(196, 196, 196)
    tile.bcolour     = libtcod.Color(96, 96, 96)
    tile.window      = Window()
    return tile
예제 #11
0
def create_door(x, y):
    tile = Tile()
    tile.type = TileType.DOOR
    tile.block_sight = False
    tile.block_move = False
    tile.char = ' '
    tile.fcolour = libtcod.Color(140, 140, 190)
    tile.bcolour = libtcod.Color(140, 140, 190)
    tile.door = Door()
    return tile
예제 #12
0
def create_window(x, y):
    tile = Tile()
    tile.type = TileType.WINDOW
    tile.block_sight = False
    tile.block_move = True
    tile.char = ' '
    tile.fcolour = libtcod.Color(196, 196, 196)
    tile.bcolour = libtcod.Color(96, 96, 96)
    tile.window = Window()
    return tile