Wizards Magic  3.2.20
MTG based computer game
 All Classes Namespaces Files Functions Variables Typedefs Macros
Public Member Functions | Public Attributes | List of all members
cards.Manticore Class Reference
Inheritance diagram for cards.Manticore:
cards.Prototype

Public Member Functions

def __init__
 
def attack
 
def cast_action
 
def focus_cast_action
 
- Public Member Functions inherited from cards.Prototype
def __init__
 
def set_health
 Set Health. More...
 
def set_power
 Set Power. More...
 
def light_switch
 Turn off/On label on card. More...
 
def play_cast_sound
 play cast sound if sounds turned on in options More...
 
def play_summon_sound
 play summon sound if sounds turned on in options More...
 
def get_attack_position
 returns opposite cardbox Id. More...
 
def get_self_cards
 returns array of cards of player, who has this card More...
 
def get_self_cardboxes
 returns cardboxes of player, who has this card More...
 
def get_enemy_cardboxes
 returns cardboxes of enemy of player, who has this card More...
 
def get_enemy_cards
 returns enemy cards More...
 
def get_adjacent_position
 return adjacent cardboxes ids for example we has cardboxes [1, 2, 3, 4 ,5] If we call this method from card, which is on cardbox with ID=4 this function returns [3,5] If we call this method from card, which is on cardbox with ID=5 this function returns [4] More...
 
def get_attack_adjacent_position
 return adjacent cardboxes ids of opposite cardbox for example we has cardboxes: [0, 1, 2, 3, 4] [5, 6, 7, 8, 9] if we call this method from card, which is on cardbox with ID=2, function returns [6, 8] if we call this method from card, which is on cardbox with ID=9, function returns [3] More...
 
def run_attack_animation
 start attack animation More...
 
def attack
 Function called when card in Attack phase. More...
 
def cast_action
 Function which called if card has some "cast action" and player press on this card. More...
 
def focus_cast_action
 function for cast which needs on target More...
 
def card_summoned
 function which calls when any card summoned More...
 
def card_died
 function which calls when any card dies More...
 
def spell_used
 function which calls when any spell used More...
 
def for_each_self_card
 function for each friendly cards on field. More...
 
def summon
 function which call when card in summon phase More...
 
def summon_speaker
 tell to other cards about summon. More...
 
def damage
 function which calls when card in damage phase. More...
 
def additional_turn_action
 Turn action, but with higher priority. More...
 
def die
 function which calls when card in Die Phase More...
 
def enemy_die
 function which calls when card kill card in opposite cardbox More...
 
def turn
 function which called when card in Turn Phase ( Beginning of player turn ) More...
 
def heal
 Heal card. More...
 
def ai
 function that calculating factor of utility this card for some type(summon, cast, etc) to some card. More...
 
def update
 Redraw. More...
 
def owner_gets_damage
 function which called when the card`s owner gets damage More...
 

Public Attributes

 name
 
 element
 
 info
 
 level
 
 power
 
 cast
 
 focus_cast
 
 health
 
 image
 
 used_cast
 
- Public Attributes inherited from cards.Prototype
 parent
 cardbox where card is More...
 
 light
 
 image
 image More...
 
 light_image
 
 surface_backup
 
 font
 
 type
 type of card ( creature or spell ) More...
 
 killed
 count of killed creatures by this card More...
 
 spells
 array of long term spells More...
 
 default_power
 
 moves_alive
 count of turns how cards alive More...
 
 max_health
 
 field
 Boolean. More...
 
 used_cast
 True if card has cast action. More...
 
 element
 
 font_color
 
 focus_cast
 
 cast
 
 info
 
 health
 
 power
 
 rect
 

Constructor & Destructor Documentation

def cards.Manticore.__init__ (   self)

Member Function Documentation

def cards.Manticore.attack (   self)
def cards.Manticore.cast_action (   self)
def cards.Manticore.focus_cast_action (   self,
  target 
)

Member Data Documentation

cards.Manticore.cast
cards.Manticore.element
cards.Manticore.focus_cast
cards.Manticore.health
cards.Manticore.image
cards.Manticore.info
cards.Manticore.level
cards.Manticore.name
cards.Manticore.power
cards.Manticore.used_cast

The documentation for this class was generated from the following file: