pyherc.rules.attack.factories

Attack related factories are defined here

AttackFactory

class pyherc.rules.attack.factories.AttackFactory(factories)

Factory for constructing attack actions

UnarmedCombatFactory

class pyherc.rules.attack.factories.UnarmedCombatFactory

Factory for producing unarmed combat actions

can_handle(parameters)

Can this factory process these parameters @param parameters: Parameters to check @returns: True if factory is capable of handling parameters

get_action(parameters)

Create a attack action @param parameters: Parameters used to control attack creation

MeleeCombatFactory

class pyherc.rules.attack.factories.MeleeCombatFactory

Factory for producing melee combat actions

can_handle(parameters)

Can this factory process these parameters @param parameters: Parameters to check @returns: True if factory is capable of handling parameters

get_action(parameters)

Create a attack action @param parameters: Parameters used to control attack creation

Table Of Contents

Previous topic

pyherc.rules.attack.action

Next topic

pyherc.rules.attack.melee

This Page