C# Class Codebreak.Service.World.Game.Map.FightManager

Inheritance: Codebreak.Service.World.Network.MessageDispatcher
Mostra file Open project: hussein-aitlahcen/codebreak Class Usage Examples

Public Methods

Method Description
CanStartFight ( CharacterEntity character ) : bool

ExecuteFightActions ( FightTypeEnum fightType, FightStateEnum state, CharacterEntity character ) : void

FightManager ( MapInstance map ) : System

GetFight ( long fightId ) : AbstractFight

Remove ( AbstractFight fight ) : void

StartAggression ( MonsterGroupEntity monsters, CharacterEntity victim ) : bool

StartAggression ( CharacterEntity aggressor, CharacterEntity victim ) : void

StartChallenge ( CharacterEntity attacker, CharacterEntity defender ) : void

StartMonsterFight ( CharacterEntity character, MonsterGroupEntity monsterGroup ) : bool

StartTaxCollectorAggression ( CharacterEntity attacker, TaxCollectorEntity taxCollector ) : bool

Private Methods

Method Description
Add ( AbstractFight fight ) : void

Method Details

CanStartFight() public method

public CanStartFight ( CharacterEntity character ) : bool
character Codebreak.Service.World.Game.Entity.CharacterEntity
return bool

ExecuteFightActions() public method

public ExecuteFightActions ( FightTypeEnum fightType, FightStateEnum state, CharacterEntity character ) : void
fightType FightTypeEnum
state FightStateEnum
character Codebreak.Service.World.Game.Entity.CharacterEntity
return void

FightManager() public method

public FightManager ( MapInstance map ) : System
map MapInstance
return System

GetFight() public method

public GetFight ( long fightId ) : AbstractFight
fightId long
return Codebreak.Service.World.Game.Fight.AbstractFight

Remove() public method

public Remove ( AbstractFight fight ) : void
fight Codebreak.Service.World.Game.Fight.AbstractFight
return void

StartAggression() public method

public StartAggression ( MonsterGroupEntity monsters, CharacterEntity victim ) : bool
monsters Codebreak.Service.World.Game.Entity.MonsterGroupEntity
victim Codebreak.Service.World.Game.Entity.CharacterEntity
return bool

StartAggression() public method

public StartAggression ( CharacterEntity aggressor, CharacterEntity victim ) : void
aggressor Codebreak.Service.World.Game.Entity.CharacterEntity
victim Codebreak.Service.World.Game.Entity.CharacterEntity
return void

StartChallenge() public method

public StartChallenge ( CharacterEntity attacker, CharacterEntity defender ) : void
attacker Codebreak.Service.World.Game.Entity.CharacterEntity
defender Codebreak.Service.World.Game.Entity.CharacterEntity
return void

StartMonsterFight() public method

public StartMonsterFight ( CharacterEntity character, MonsterGroupEntity monsterGroup ) : bool
character Codebreak.Service.World.Game.Entity.CharacterEntity
monsterGroup Codebreak.Service.World.Game.Entity.MonsterGroupEntity
return bool

StartTaxCollectorAggression() public method

public StartTaxCollectorAggression ( CharacterEntity attacker, TaxCollectorEntity taxCollector ) : bool
attacker Codebreak.Service.World.Game.Entity.CharacterEntity
taxCollector Codebreak.Service.World.Game.Entity.TaxCollectorEntity
return bool