SYMBOL INDEX (467 symbols across 9 files) FILE: source/component/map.py class Map (line 7) | class Map: method __init__ (line 8) | def __init__(self, background_type: int): method isValid (line 67) | def isValid(self, map_x: int, map_y: int) -> bool: method initMapGrid (line 75) | def initMapGrid(self, plot_type: str) -> set: method isAvailable (line 85) | def isAvailable(self, map_x: int, map_y: int, plant_name: str) -> bool: method getMapIndex (line 190) | def getMapIndex(self, x: int, y: int) -> tuple[int, int]: method getMapGridPos (line 209) | def getMapGridPos(self, map_x: int, map_y: int) -> tuple[int, int]: method setMapGridType (line 237) | def setMapGridType(self, map_x: int, map_y: int, plot_type: str): method addMapPlant (line 240) | def addMapPlant( method removeMapPlant (line 246) | def removeMapPlant(self, map_x: int, map_y: int, plant_name: str): method getRandomMapIndex (line 249) | def getRandomMapIndex(self) -> tuple[int, int]: method checkPlantToSeed (line 254) | def checkPlantToSeed( FILE: source/component/menubar.py function getSunValueImage (line 9) | def getSunValueImage(sun_value): function getCardPool (line 27) | def getCardPool(data): class Card (line 35) | class Card: method __init__ (line 36) | def __init__( method loadFrame (line 79) | def loadFrame(self, name, scale): method checkMouseClick (line 89) | def checkMouseClick(self, mouse_pos): method canClick (line 98) | def canClick(self, sun_value, current_time): method canSelect (line 106) | def canSelect(self): method setSelect (line 109) | def setSelect(self, can_select): method setFrozenTime (line 128) | def setFrozenTime(self, current_time): method createShowImage (line 131) | def createShowImage(self, sun_value, current_time): method update (line 168) | def update(self, sun_value, current_time): method draw (line 173) | def draw(self, surface): class MenuBar (line 178) | class MenuBar: method __init__ (line 179) | def __init__(self, card_list, sun_value): method loadFrame (line 189) | def loadFrame(self, name): method update (line 196) | def update(self, current_time): method createImage (line 201) | def createImage(self, x, y, num): method setupCards (line 217) | def setupCards(self, card_list): method checkCardClick (line 225) | def checkCardClick(self, mouse_pos): method checkMenuBarClick (line 240) | def checkMenuBarClick(self, mouse_pos): method decreaseSunValue (line 249) | def decreaseSunValue(self, value): method increaseSunValue (line 252) | def increaseSunValue(self, value): method setCardFrozenTime (line 257) | def setCardFrozenTime(self, plant_name): method drawSunValue (line 263) | def drawSunValue(self): method draw (line 271) | def draw(self, surface): class Panel (line 279) | class Panel: method __init__ (line 280) | def __init__(self, card_list, sun_value, background_type=c.BACKGROUND_... method loadFrame (line 287) | def loadFrame(self, name): method loadImages (line 294) | def loadImages(self, sun_value): method setupCards (line 315) | def setupCards(self, card_list): method checkCardClick (line 350) | def checkCardClick(self, mouse_pos): method addCard (line 393) | def addCard(self, card: Card): method deleteCard (line 400) | def deleteCard(self, index): method checkStartButtonClick (line 403) | def checkStartButtonClick(self, mouse_pos): method getSelectedCards (line 415) | def getSelectedCards(self): method draw (line 421) | def draw(self, surface): class MoveCard (line 435) | class MoveCard: method __init__ (line 436) | def __init__(self, x, y, card_name, plant_name, scale=0.5): method loadFrame (line 450) | def loadFrame(self, name, scale): method checkMouseClick (line 461) | def checkMouseClick(self, mouse_pos): method createShowImage (line 470) | def createShowImage(self): method update (line 495) | def update(self, left_x, current_time): method draw (line 504) | def draw(self, surface): class MoveBar (line 509) | class MoveBar: method __init__ (line 510) | def __init__(self, card_pool): method loadFrame (line 524) | def loadFrame(self, name): method createCard (line 531) | def createCard(self): method update (line 552) | def update(self, current_time): method checkCardClick (line 563) | def checkCardClick(self, mouse_pos): method checkMenuBarClick (line 571) | def checkMenuBarClick(self, mouse_pos): method deleateCard (line 580) | def deleateCard(self, card): method draw (line 583) | def draw(self, surface): FILE: source/component/plant.py class Car (line 9) | class Car(pg.sprite.Sprite): method __init__ (line 10) | def __init__(self, x: int, y: int, map_y: int): method update (line 24) | def update(self, game_info: dict): method setWalk (line 31) | def setWalk(self): method draw (line 37) | def draw(self, surface): class Bullet (line 42) | class Bullet(pg.sprite.Sprite): method __init__ (line 43) | def __init__( method loadFrames (line 80) | def loadFrames(self, frames, name): method load_images (line 98) | def load_images(self): method update (line 113) | def update(self, game_info): method setExplode (line 133) | def setExplode(self): method draw (line 147) | def draw(self, surface): class Fume (line 153) | class Fume(pg.sprite.Sprite): method __init__ (line 154) | def __init__(self, x, y): method load_images (line 167) | def load_images(self): method draw (line 176) | def draw(self, surface): method update (line 179) | def update(self, game_info): method loadFrames (line 189) | def loadFrames(self, frames, name): class StarBullet (line 200) | class StarBullet(Bullet): method __init__ (line 201) | def __init__( method update (line 225) | def update(self, game_info): method handleMapYPosition (line 253) | def handleMapYPosition(self): class Plant (line 270) | class Plant(pg.sprite.Sprite): method __init__ (line 271) | def __init__(self, x, y, name, health, bullet_group, scale=1): method loadFrames (line 296) | def loadFrames(self, frames, name, scale=1, color=c.BLACK): method loadImages (line 316) | def loadImages(self, name, scale): method changeFrames (line 319) | def changeFrames(self, frames): method update (line 333) | def update(self, game_info): method handleState (line 338) | def handleState(self): method idling (line 346) | def idling(self): method attacking (line 349) | def attacking(self): method digest (line 352) | def digest(self): method animation (line 355) | def animation(self): method canAttack (line 371) | def canAttack(self, zombie): method setAttack (line 385) | def setAttack(self): method setIdle (line 388) | def setIdle(self): method setSleep (line 392) | def setSleep(self): method setDamage (line 396) | def setDamage(self, damage, zombie): method getPosition (line 407) | def getPosition(self): class Sun (line 411) | class Sun(Plant): method __init__ (line 412) | def __init__(self, x, y, dest_x, dest_y, is_big=True): method handleState (line 425) | def handleState(self): method checkCollision (line 449) | def checkCollision(self, x, y): class SunFlower (line 464) | class SunFlower(Plant): method __init__ (line 465) | def __init__(self, x, y, sun_group): method idling (line 471) | def idling(self): class PeaShooter (line 486) | class PeaShooter(Plant): method __init__ (line 487) | def __init__(self, x, y, bullet_group): method attacking (line 491) | def attacking(self): method setAttack (line 509) | def setAttack(self): class RepeaterPea (line 515) | class RepeaterPea(Plant): method __init__ (line 516) | def __init__(self, x, y, bullet_group): method attacking (line 523) | def attacking(self): method setAttack (line 556) | def setAttack(self): class ThreePeaShooter (line 562) | class ThreePeaShooter(Plant): method __init__ (line 563) | def __init__(self, x, y, bullet_groups, map_y, background_type): method attacking (line 570) | def attacking(self): method setAttack (line 608) | def setAttack(self): class SnowPeaShooter (line 614) | class SnowPeaShooter(Plant): method __init__ (line 615) | def __init__(self, x, y, bullet_group): method attacking (line 621) | def attacking(self): method setAttack (line 641) | def setAttack(self): class WallNut (line 647) | class WallNut(Plant): method __init__ (line 648) | def __init__(self, x, y): method load_images (line 655) | def load_images(self): method idling (line 665) | def idling(self): class CherryBomb (line 674) | class CherryBomb(Plant): method __init__ (line 675) | def __init__(self, x, y): method setBoom (line 684) | def setBoom(self): method animation (line 698) | def animation(self): class Chomper (line 725) | class Chomper(Plant): method __init__ (line 726) | def __init__(self, x, y): method loadImages (line 735) | def loadImages(self, name, scale): method canAttack (line 755) | def canAttack(self, zombie): method setIdle (line 772) | def setIdle(self): method setAttack (line 776) | def setAttack(self, zombie, zombie_group): method setDigest (line 782) | def setDigest(self): method attacking (line 786) | def attacking(self): method digest (line 803) | def digest(self): class PuffShroom (line 811) | class PuffShroom(Plant): method __init__ (line 812) | def __init__(self, x, y, bullet_group): method loadImages (line 816) | def loadImages(self, name, scale): method attacking (line 831) | def attacking(self): method canAttack (line 849) | def canAttack(self, zombie): method setAttack (line 862) | def setAttack(self): class PotatoMine (line 868) | class PotatoMine(Plant): method __init__ (line 869) | def __init__(self, x, y): method loadImages (line 879) | def loadImages(self, name, scale): method idling (line 896) | def idling(self): method canAttack (line 904) | def canAttack(self, zombie): # 土豆雷不可能遇上潜水僵尸 method attacking (line 916) | def attacking(self): class Squash (line 927) | class Squash(Plant): method __init__ (line 928) | def __init__(self, x, y, map_plant_set): method loadImages (line 935) | def loadImages(self, name, scale): method canAttack (line 952) | def canAttack(self, zombie): method setAttack (line 968) | def setAttack(self, zombie, zombie_group): method attacking (line 975) | def attacking(self): method getPosition (line 999) | def getPosition(self): class Spikeweed (line 1003) | class Spikeweed(Plant): method __init__ (line 1004) | def __init__(self, x, y): method setIdle (line 1011) | def setIdle(self): method canAttack (line 1015) | def canAttack(self, zombie): method setAttack (line 1026) | def setAttack(self, zombie_group): method attacking (line 1033) | def attacking(self): class Jalapeno (line 1056) | class Jalapeno(Plant): method __init__ (line 1057) | def __init__(self, x, y): method loadImages (line 1066) | def loadImages(self, name, scale): method setExplode (line 1073) | def setExplode(self): method animation (line 1079) | def animation(self): method getPosition (line 1107) | def getPosition(self): class ScaredyShroom (line 1111) | class ScaredyShroom(Plant): method __init__ (line 1112) | def __init__(self, x, y, bullet_group): method loadImages (line 1119) | def loadImages(self, name, scale): method needCry (line 1136) | def needCry(self, zombie): method setCry (line 1144) | def setCry(self): method setAttack (line 1148) | def setAttack(self): method setIdle (line 1154) | def setIdle(self): method attacking (line 1158) | def attacking(self): class SunShroom (line 1177) | class SunShroom(Plant): method __init__ (line 1178) | def __init__(self, x, y, sun_group): method loadImages (line 1186) | def loadImages(self, name, scale): method idling (line 1203) | def idling(self): class IceShroom (line 1227) | class IceShroom(Plant): method __init__ (line 1228) | def __init__(self, x, y): method loadImages (line 1234) | def loadImages(self, name, scale): method setFreeze (line 1259) | def setFreeze(self): method animation (line 1266) | def animation(self): method getPosition (line 1296) | def getPosition(self): class HypnoShroom (line 1300) | class HypnoShroom(Plant): method __init__ (line 1301) | def __init__(self, x, y): method loadImages (line 1307) | def loadImages(self, name, scale): method idling (line 1322) | def idling(self): class WallNutBowling (line 1327) | class WallNutBowling(Plant): method __init__ (line 1328) | def __init__(self, x, y, map_y, level): method loadImages (line 1342) | def loadImages(self, name, scale): method idling (line 1345) | def idling(self): method canHit (line 1359) | def canHit(self, map_y): method handleMapYPosition (line 1364) | def handleMapYPosition(self): method shouldChangeDirection (line 1377) | def shouldChangeDirection(self): method changeDirection (line 1384) | def changeDirection(self, map_y): method animation (line 1400) | def animation(self): class RedWallNutBowling (line 1408) | class RedWallNutBowling(Plant): method __init__ (line 1409) | def __init__(self, x, y): method loadImages (line 1424) | def loadImages(self, name, scale): method idling (line 1435) | def idling(self): method attacking (line 1445) | def attacking(self): method animation (line 1455) | def animation(self): method getPosition (line 1471) | def getPosition(self): class LilyPad (line 1475) | class LilyPad(Plant): method __init__ (line 1476) | def __init__(self, x, y): class TorchWood (line 1481) | class TorchWood(Plant): method __init__ (line 1482) | def __init__(self, x, y, bullet_group): method idling (line 1486) | def idling(self): class StarFruit (line 1524) | class StarFruit(Plant): method __init__ (line 1525) | def __init__(self, x, y, bullet_group, level): method canAttack (line 1531) | def canAttack(self, zombie): method attacking (line 1578) | def attacking(self): method setAttack (line 1634) | def setAttack(self): class CoffeeBean (line 1640) | class CoffeeBean(Plant): method __init__ (line 1641) | def __init__(self, x, y, plant_group, map_content, map, map_x): method animation (line 1649) | def animation(self): class SeaShroom (line 1683) | class SeaShroom(Plant): method __init__ (line 1684) | def __init__(self, x, y, bullet_group): method loadImages (line 1688) | def loadImages(self, name, scale): method attacking (line 1703) | def attacking(self): method canAttack (line 1721) | def canAttack(self, zombie): method setAttack (line 1734) | def setAttack(self): class TallNut (line 1740) | class TallNut(Plant): method __init__ (line 1741) | def __init__(self, x, y): method load_images (line 1748) | def load_images(self): method idling (line 1758) | def idling(self): class TangleKlep (line 1767) | class TangleKlep(Plant): method __init__ (line 1768) | def __init__(self, x, y): method load_images (line 1773) | def load_images(self): method canAttack (line 1788) | def canAttack(self, zombie): method setAttack (line 1795) | def setAttack(self, zombie, zombie_group): method attacking (line 1800) | def attacking(self): class DoomShroom (line 1818) | class DoomShroom(Plant): method __init__ (line 1819) | def __init__(self, x, y, map_plant_set, explode_y_range): method loadImages (line 1830) | def loadImages(self, name, scale): method setBoom (line 1847) | def setBoom(self): method animation (line 1851) | def animation(self): class Hole (line 1897) | class Hole(Plant): method __init__ (line 1898) | def __init__(self, x, y, plot_type): method loadImages (line 1906) | def loadImages(self, name, scale): method idling (line 1948) | def idling(self): class Grave (line 1963) | class Grave(Plant): method __init__ (line 1964) | def __init__(self, x, y): method animation (line 1971) | def animation(self): class GraveBuster (line 1975) | class GraveBuster(Plant): method __init__ (line 1976) | def __init__(self, x, y, plant_group, map, map_x): method animation (line 1986) | def animation(self): class FumeShroom (line 2012) | class FumeShroom(Plant): method __init__ (line 2013) | def __init__(self, x, y, bullet_group, zombie_group): method loadImages (line 2019) | def loadImages(self, name, scale): method canAttack (line 2036) | def canAttack(self, zombie): method setAttack (line 2049) | def setAttack(self): method attacking (line 2054) | def attacking(self): method animation (line 2076) | def animation(self): class IceFrozenPlot (line 2097) | class IceFrozenPlot(Plant): method __init__ (line 2098) | def __init__(self, x, y): method idling (line 2103) | def idling(self): class Garlic (line 2110) | class Garlic(Plant): method __init__ (line 2111) | def __init__(self, x, y): method load_images (line 2117) | def load_images(self): method idling (line 2127) | def idling(self): class PumpkinHead (line 2136) | class PumpkinHead(Plant): method __init__ (line 2137) | def __init__(self, x, y): method load_images (line 2145) | def load_images(self): method idling (line 2155) | def idling(self): class GiantWallNut (line 2164) | class GiantWallNut(Plant): method __init__ (line 2165) | def __init__(self, x, y): method idling (line 2175) | def idling(self): method animation (line 2185) | def animation(self): FILE: source/component/zombie.py class Zombie (line 9) | class Zombie(pg.sprite.Sprite): method __init__ (line 10) | def __init__( method loadFrames (line 72) | def loadFrames(self, frames, name, colorkey=c.BLACK): method update (line 84) | def update(self, game_info): method handleState (line 90) | def handleState(self): method checkToDie (line 101) | def checkToDie(self, framesKind): method walking (line 117) | def walking(self): method handleGarlicYChange (line 224) | def handleGarlicYChange(self): method attacking (line 260) | def attacking(self): method dying (line 293) | def dying(self): method freezing (line 296) | def freezing(self): method setLostHead (line 314) | def setLostHead(self): method changeFrames (line 323) | def changeFrames(self, frames): method animation (line 337) | def animation(self): method getTimeRatio (line 362) | def getTimeRatio(self): method getAttackTimeRatio (line 367) | def getAttackTimeRatio(self): method setIceSlow (line 370) | def setIceSlow(self): method updateIceSlow (line 379) | def updateIceSlow(self): method setDamage (line 384) | def setDamage( method setWalk (line 486) | def setWalk(self): method setAttack (line 515) | def setAttack(self, prey, is_plant=True): method setDie (line 529) | def setDie(self): method setBoomDie (line 534) | def setBoomDie(self): method setFreeze (line 540) | def setFreeze(self, ice_trap_image): method drawFreezeTrap (line 549) | def drawFreezeTrap(self, surface): method setHypno (line 553) | def setHypno(self): class ZombieHead (line 560) | class ZombieHead(Zombie): method __init__ (line 561) | def __init__(self, x, y): method loadImages (line 565) | def loadImages(self): method setWalk (line 571) | def setWalk(self): class NormalZombie (line 575) | class NormalZombie(Zombie): method __init__ (line 576) | def __init__(self, x, y, head_group): method loadImages (line 579) | def loadImages(self): class ConeHeadZombie (line 618) | class ConeHeadZombie(Zombie): method __init__ (line 619) | def __init__(self, x, y, head_group): method loadImages (line 629) | def loadImages(self): class BucketHeadZombie (line 675) | class BucketHeadZombie(Zombie): method __init__ (line 676) | def __init__(self, x, y, head_group): method loadImages (line 686) | def loadImages(self): class FlagZombie (line 732) | class FlagZombie(Zombie): method __init__ (line 733) | def __init__(self, x, y, head_group): method loadImages (line 737) | def loadImages(self): class NewspaperZombie (line 775) | class NewspaperZombie(Zombie): method __init__ (line 776) | def __init__(self, x, y, head_group): method loadImages (line 787) | def loadImages(self): method walking (line 840) | def walking(self): method animation (line 861) | def animation(self): class FootballZombie (line 897) | class FootballZombie(Zombie): method __init__ (line 898) | def __init__(self, x, y, head_group): method loadImages (line 914) | def loadImages(self): class DuckyTubeZombie (line 960) | class DuckyTubeZombie(Zombie): method __init__ (line 961) | def __init__(self, x, y, head_group): method loadImages (line 966) | def loadImages(self): class ConeHeadDuckyTubeZombie (line 1008) | class ConeHeadDuckyTubeZombie(Zombie): method __init__ (line 1009) | def __init__(self, x, y, head_group): method loadImages (line 1020) | def loadImages(self): class BucketHeadDuckyTubeZombie (line 1074) | class BucketHeadDuckyTubeZombie(Zombie): method __init__ (line 1075) | def __init__(self, x, y, head_group): method loadImages (line 1086) | def loadImages(self): class ScreenDoorZombie (line 1140) | class ScreenDoorZombie(Zombie): method __init__ (line 1141) | def __init__(self, x, y, head_group): method loadImages (line 1151) | def loadImages(self): class PoleVaultingZombie (line 1197) | class PoleVaultingZombie(Zombie): method __init__ (line 1198) | def __init__(self, x, y, head_group): method loadImages (line 1212) | def loadImages(self): method setJump (line 1257) | def setJump(self, successfullyJumped, jump_x): method animation (line 1266) | def animation(self): method setWalk (line 1303) | def setWalk(self): method setFreeze (line 1309) | def setFreeze(self, ice_trap_image): class Zomboni (line 1325) | class Zomboni(Zombie): method __init__ (line 1326) | def __init__(self, x, y, plant_group, map, IceFrozenPlot): method loadImages (line 1336) | def loadImages(self): method updateIceSlow (line 1373) | def updateIceSlow(self): method setFreeze (line 1377) | def setFreeze(self, ice_trap_image): method walking (line 1380) | def walking(self): method setDie (line 1421) | def setDie(self): class SnorkelZombie (line 1429) | class SnorkelZombie(Zombie): method __init__ (line 1430) | def __init__(self, x, y, head_group): method loadImages (line 1436) | def loadImages(self): method walking (line 1489) | def walking(self): method animation (line 1534) | def animation(self): method setAttack (line 1571) | def setAttack(self, prey, is_plant=True): method setWalk (line 1582) | def setWalk(self): FILE: source/constants.py function _getSound (line 701) | def _getSound(filename): FILE: source/state/level.py class Level (line 14) | class Level(tool.State): method __init__ (line 15) | def __init__(self): method startup (line 18) | def startup(self, current_time, persist): method loadMap (line 38) | def loadMap(self): method setupBackground (line 103) | def setupBackground(self): method setupGroups (line 113) | def setupGroups(self): method createWaves (line 129) | def createWaves( method refreshWaves (line 206) | def refreshWaves(self, current_time, survival_rounds=0): method setupZombies (line 412) | def setupZombies(self): method setupCars (line 424) | def setupCars(self): method update (line 431) | def update(self, surface, current_time, mouse_pos, mouse_click): method gameTime (line 442) | def gameTime(self, current_time): method initBowlingMap (line 450) | def initBowlingMap(self): method initState (line 457) | def initState(self): method initChoose (line 473) | def initChoose(self): method choose (line 489) | def choose(self, mouse_pos, mouse_click): method initPlay (line 503) | def initPlay(self, card_list): method setupLittleMenu (line 620) | def setupLittleMenu(self): method pauseAndCheckMenuOptions (line 707) | def pauseAndCheckMenuOptions(self, mouse_pos, mouse_click): method setupHugeWaveApprochingImage (line 761) | def setupHugeWaveApprochingImage(self): method setupLevelProgressBarImage (line 773) | def setupLevelProgressBarImage(self): method shovelRemovePlant (line 816) | def shovelRemovePlant(self, mouse_pos): method play (line 847) | def play(self, mouse_pos, mouse_click): method createZombie (line 975) | def createZombie(self, name, map_y=None): method canSeedPlant (line 1142) | def canSeedPlant(self, plant_name): method addPlant (line 1147) | def addPlant(self): method setupHintImage (line 1289) | def setupHintImage(self): method setupMouseImage (line 1316) | def setupMouseImage(self, plant_name, select_plant, colorkey=c.BLACK): method removeMouseImage (line 1339) | def removeMouseImage(self): method removeMouseImagePlus (line 1346) | def removeMouseImagePlus(self): method checkBulletCollisions (line 1351) | def checkBulletCollisions(self): method checkZombieCollisions (line 1385) | def checkZombieCollisions(self): method checkCarCollisions (line 1629) | def checkCarCollisions(self): method boomZombies (line 1650) | def boomZombies(self, x, map_y, y_range, x_range, effect=None): method freezeZombies (line 1671) | def freezeZombies(self, plant): method killPlant (line 1682) | def killPlant(self, target_plant, shovel=False): method checkPlant (line 1736) | def checkPlant(self, target_plant, i): method checkPlants (line 1886) | def checkPlants(self): method checkVictory (line 1894) | def checkVictory(self): method checkLose (line 1909) | def checkLose(self): method checkGameState (line 1920) | def checkGameState(self): method drawMouseShow (line 1955) | def drawMouseShow(self, surface): method drawMouseShowPlus (line 1963) | def drawMouseShowPlus(self, surface): # 拖动铲子时的显示 method drawZombieFreezeTrap (line 1995) | def drawZombieFreezeTrap(self, i, surface): method showLevelProgress (line 1999) | def showLevelProgress(self, surface): method showAllContentOfMenu (line 2055) | def showAllContentOfMenu(self, surface): method draw (line 2081) | def draw(self, surface): FILE: source/state/mainmenu.py class Menu (line 9) | class Menu(tool.State): method __init__ (line 10) | def __init__(self): method startup (line 13) | def startup(self, current_time: int, persist): method setupBackground (line 29) | def setupBackground(self): method setupOptions (line 42) | def setupOptions(self): method checkHilight (line 118) | def checkHilight(self, x: int, y: int): method chooseHilightImage (line 152) | def chooseHilightImage(self, hilightTime: int, frames): method respondAdventureClick (line 159) | def respondAdventureClick(self): method respondLittleGameClick (line 169) | def respondLittleGameClick(self): method respondExitClick (line 176) | def respondExitClick(self): method respondHelpClick (line 181) | def respondHelpClick(self): method setupOptionMenu (line 185) | def setupOptionMenu(self): method setupSunflowerTrophy (line 245) | def setupSunflowerTrophy(self): method checkSunflowerTrophyInfo (line 266) | def checkSunflowerTrophyInfo(self, surface: pg.Surface, x: int, y: int): method respondOptionButtonClick (line 286) | def respondOptionButtonClick(self): method showCurrentVolumeImage (line 291) | def showCurrentVolumeImage(self, surface: pg.Surface): method update (line 304) | def update( FILE: source/state/screen.py class Screen (line 10) | class Screen(tool.State): method __init__ (line 11) | def __init__(self): method startup (line 15) | def startup(self, current_time, persist): method setupImage (line 18) | def setupImage(self, name, frame_rect=(0, 0, 800, 600), color_key=c.BL... method update (line 70) | def update(self, surface, current_time, mouse_pos, mouse_click): class GameVictoryScreen (line 84) | class GameVictoryScreen(Screen): method __init__ (line 85) | def __init__(self): method startup (line 89) | def startup(self, current_time, persist): class GameLoseScreen (line 101) | class GameLoseScreen(Screen): method __init__ (line 102) | def __init__(self): method startup (line 106) | def startup(self, current_time, persist): class AwardScreen (line 116) | class AwardScreen(tool.State): method __init__ (line 117) | def __init__(self): method setupImage (line 120) | def setupImage(self): method startup (line 241) | def startup(self, current_time, persist): method update (line 258) | def update(self, surface, current_time, mouse_pos, mouse_click): class HelpScreen (line 271) | class HelpScreen(tool.State): method __init__ (line 272) | def __init__(self): method startup (line 275) | def startup(self, current_time, persist): method setupImage (line 284) | def setupImage(self): method update (line 314) | def update(self, surface, current_time, mouse_pos, mouse_click): FILE: source/tool.py class State (line 14) | class State: method __init__ (line 15) | def __init__(self): method startup (line 24) | def startup(self, current_time: int, persist: dict): method cleanup (line 29) | def cleanup(self): method update (line 35) | def update(self, surface: pg.Surface, keys, current_time: int): method inArea (line 40) | def inArea(self, rect: pg.Rect, x: int, y: int): method saveUserData (line 47) | def saveUserData(self): class Control (line 58) | class Control: method __init__ (line 59) | def __init__(self): method setupUserData (line 106) | def setupUserData(self): method setup_states (line 114) | def setup_states(self, state_dict: dict, start_state): method update (line 120) | def update(self): method flip_state (line 135) | def flip_state(self): method event_loop (line 144) | def event_loop(self): method run (line 170) | def run(self): function get_image (line 178) | def get_image( function get_image_alpha (line 200) | def get_image_alpha( function load_image_frames (line 221) | def load_image_frames( function load_all_gfx (line 248) | def load_all_gfx(