-
Notifications
You must be signed in to change notification settings - Fork 1
/
CustomLaby.py
45 lines (35 loc) · 1.66 KB
/
CustomLaby.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- coding: utf-8 -*-
import LabyText
__author__ = 'Yoann'
"""
Ce package contient la définition de la claasse LabyText, une classe dérivée de LabyObject
implémentant le code exécutable pour la gestion d'un Labyrinthe en mode texte.
"""
import LabyTextFxTunnel
class LabyCustom(LabyText.LabyText):
def initMap(self):
self.CarteTxt = [
"+------+-----------+--------+----------+",
"T @ |q | | A T",
"+----+ | --_----+ | +---+ | ------+ |",
"| | >p> | | | | | |",
"| + +--P-+ +-+ | + + + +-R-+^----+ | |",
"| | | | | |@ p| r < | |",
"| +----+ +--+ + +---+ | P +^----+ | |",
"| < | | ++ |1 1> q T| | |",
"+--+ + +--------+1+ | +-Q-+-----+-+ |",
"|s | | +++ | ++ | |",
"+--+ | ++ A | | | +-+ +--_+ +0|",
"| | | | +---+ + |A++ |s > +-+",
"| | ++ | | +-+-+ +-+---+ +-+T|",
"| +-+ + +-----+ | | | ++ Su+ | |",
"T | | | < | | | +---+---+^|",
"| +--+-+ | | +-+ | ++ s| |",
"| | @ + + | | +++ + +-----+ |",
"| +--+ +------+ | | | u| |",
"| @| +-----+ + + +------+U+-+ |",
"| | |T q | | |",
"+----+--------------+---+--------------+"]
self.Theme = "Blue"
self.IsShadowEnabled = False
elf.SponeCode = '@'