|
def | __init__ (self, zoom=1.0, frameTime=0.0, capture=False) |
|
def | initialize (self, state, isBlue=False) |
|
def | startGraphics (self, state) |
|
def | drawDistributions (self, state) |
|
def | drawStaticObjects (self, state) |
|
def | drawAgentObjects (self, state) |
|
def | swapImages (self, agentIndex, newState) |
|
def | update (self, newState) |
|
def | make_window (self, width, height) |
|
def | drawPacman (self, pacman, index) |
|
def | getEndpoints (self, direction, position=(0, 0)) |
|
def | movePacman (self, position, direction, image) |
|
def | animatePacman (self, pacman, prevPacman, image) |
|
def | getGhostColor (self, ghost, ghostIndex) |
|
def | drawGhost (self, ghost, agentIndex) |
|
def | moveEyes (self, pos, dir, eyes) |
|
def | moveGhost (self, ghost, ghostIndex, prevGhost, ghostImageParts) |
|
def | getPosition (self, agentState) |
|
def | getDirection (self, agentState) |
|
def | finish (self) |
|
def | to_screen (self, point) |
|
def | to_screen2 (self, point) |
|
def | drawWalls (self, wallMatrix) |
|
def | isWall (self, x, y, walls) |
|
def | drawFood (self, foodMatrix) |
|
def | drawCapsules (self, capsules) |
|
def | removeFood (self, cell, foodImages) |
|
def | removeCapsule (self, cell, capsuleImages) |
|
def | drawExpandedCells (self, cells) |
|
def | clearExpandedCells (self) |
|
def | updateDistributions (self, distributions) |
|