Gridarta Editor
net.sf.gridarta.model.spells.Spell Class Referenceabstract

Describes an in-game spell. More...

+ Inheritance diagram for net.sf.gridarta.model.spells.Spell:
+ Collaboration diagram for net.sf.gridarta.model.spells.Spell:

Public Member Functions

String getName ()
 Return the spell name. More...
 

Protected Member Functions

 Spell (@NotNull final String name)
 Create a new instance. More...
 

Private Attributes

final String name
 The name of the spell. More...
 

Detailed Description

Describes an in-game spell.

Author
Andreas Kirschbaum

Definition at line 28 of file Spell.java.

Constructor & Destructor Documentation

◆ Spell()

net.sf.gridarta.model.spells.Spell.Spell ( @NotNull final String  name)
protected

Create a new instance.

Parameters
namethe spell name

Definition at line 40 of file Spell.java.

References net.sf.gridarta.model.spells.Spell.name.

Member Function Documentation

◆ getName()

String net.sf.gridarta.model.spells.Spell.getName ( )

Return the spell name.

Returns
the spell name

Definition at line 49 of file Spell.java.

References net.sf.gridarta.model.spells.Spell.name.

Referenced by net.sf.gridarta.model.spells.GameObjectSpell< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.GameObjectSpell().

+ Here is the caller graph for this function:

Member Data Documentation

◆ name

final String net.sf.gridarta.model.spells.Spell.name
private

The name of the spell.

Definition at line 34 of file Spell.java.

Referenced by net.sf.gridarta.model.spells.Spell.getName(), and net.sf.gridarta.model.spells.Spell.Spell().


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