C# Class DodongosQuest.Magic.Spell

Inheritance: ISpell
Afficher le fichier Open project: faintpixel/Roguelike

Méthodes publiques

Méthode Description
CastSpell ( ICreature caster, Vector2 targetWorldIndex ) : bool
Rotate ( ) : void
Spell ( string name, int manaCost, AreaOfEffect affectedArea, bool targetCanMove, World world, ICastStrategy castStrategy, bool allowRotation ) : System

Method Details

CastSpell() public méthode

public CastSpell ( ICreature caster, Vector2 targetWorldIndex ) : bool
caster ICreature
targetWorldIndex Vector2
Résultat bool

Rotate() public méthode

public Rotate ( ) : void
Résultat void

Spell() public méthode

public Spell ( string name, int manaCost, AreaOfEffect affectedArea, bool targetCanMove, World world, ICastStrategy castStrategy, bool allowRotation ) : System
name string
manaCost int
affectedArea AreaOfEffect
targetCanMove bool
world World
castStrategy ICastStrategy
allowRotation bool
Résultat System