-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbossInterface.py
More file actions
33 lines (23 loc) · 770 Bytes
/
bossInterface.py
File metadata and controls
33 lines (23 loc) · 770 Bytes
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
from bossModel import *
from alarmModel import *
from timeFunc import *
def string_getBossImage(bossName):
return bossImage[bossName]
def hex_getBossColor(bossName):
return bossColor[bossName]
def list_getBossColors():
return bossColor
def bool_getValidBoss(bossName):
return enableBossList[bossName]
def second_getAlarmTime(weekday, index) :
return timeTable[weekday][index]
def second_getAlarmBeforeTime(weekday,index) :
return alarmTable[weekday][index]*60
def list_getAllBossNames() :
return bossNameList
def list_getBossListWeekday(weekday):
return bossTable[weekday]
def list_getBossListDay(weekday,index):
return bossTable[weekday][index]
def size_getTableLengthOnWeekday(weekday):
return len(bossTable[weekday])