Wizards Magic
3.2.20
MTG based computer game
|
Classes | |
class | Player |
class | Player1 |
class | Player2 |
Functions | |
def | __init__ |
def | get_self_cards |
def | get_opponent_cards |
def | damage |
def | heal |
def | get_mana |
def | get_mana_count |
def | get_cards |
def | switch_position |
def | me_finish_turn |
def | finish_turn |
Variables | |
yes_pygame = True | |
tuple | current_folder = os.path.dirname(os.path.abspath(__file__)) |
health | |
name | |
action_points | |
game_id | |
mana | |
element | |
ai | |
cards_generated | |
enemy | |
id | |
cards | |
def player.__init__ | ( | self, | |
game_id = 0 |
|||
) |
def player.damage | ( | self, | |
damage, | |||
enemy, | |||
cast = False |
|||
) |
def player.finish_turn | ( | ) |
def player.get_cards | ( | self, | |
server_cards = None |
|||
) |
server_cards = list of cards sent from remote server
def player.get_mana | ( | self | ) |
def player.get_mana_count | ( | self | ) |
def player.get_opponent_cards | ( | self | ) |
def player.get_self_cards | ( | self | ) |
def player.heal | ( | self, | |
health | |||
) |
def player.me_finish_turn | ( | ) |
def player.switch_position | ( | ) |
player.action_points |
player.ai |
player.cards |
player.cards_generated |
tuple player.current_folder = os.path.dirname(os.path.abspath(__file__)) |
player.element |
player.enemy |
player.game_id |
player.health |
player.id |
player.mana |
player.name |
player.yes_pygame = True |