MCPcopy Create free account
hub / github.com/geekcomputers/Python / alive

Method alive

brickout-game/brickout-game.py:182–187  ·  view source on GitHub ↗

returns true when this brick belongs to the brick wall. otherwise false

(self)

Source from the content-addressed store, hash-verified

180 self.__isInGroup = False
181
182 def alive(self):
183 """
184 returns true when this brick belongs to the brick wall.
185 otherwise false
186 """
187 return self.__isInGroup
188
189 def collide(self, ball):
190 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected