SPELLBOOK

Name

SPELLBOOK -- class

Description

Represents the spell-data of a spellbook, not the actual book.

Class details

(defclass SPELLBOOK ()(...))
scopepackage ORG.LANGBAND.VANILLA
locationvariants/vanilla/base.lisp
# variables4
# methods8

Methods

(SETF SPELLBOOK.ID)
 ((SETF SPELLBOOK.ID) (OBJ SPELLBOOK)) [accessor]
Description 

The id for the spellbook, used for lookups, e.g from object-kinds.

SPELLBOOK.ID
 (SPELLBOOK.ID (OBJ SPELLBOOK)) [accessor]
Description 

The id for the spellbook, used for lookups, e.g from object-kinds.

Called By 

PRINT-OBJECT and REGISTER-SPELLBOOK&

(SETF SPELLBOOK.NAME)
 ((SETF SPELLBOOK.NAME) (OBJ SPELLBOOK)) [accessor]
Description 

The name of the spellbook, used for listings.

SPELLBOOK.NAME
 (SPELLBOOK.NAME (OBJ SPELLBOOK)) [accessor]
Description 

The name of the spellbook, used for listings.

Called By 

DISPLAY-SPELLS and PRINT-OBJECT

(SETF SPELLBOOK.SIZE)
 ((SETF SPELLBOOK.SIZE) (OBJ SPELLBOOK)) [accessor]
Description 

The size of the spellbook, ie how many spells it _can_ take.

SPELLBOOK.SIZE
 (SPELLBOOK.SIZE (OBJ SPELLBOOK)) [accessor]
Description 

The size of the spellbook, ie how many spells it _can_ take.

Called By 

DISPLAY-SPELLS, INTERACTIVE-SPELL-SELECTION, VAN-INVOKE-SPELL! and VAN-LEARN-SPELL!

(SETF SPELLBOOK.SPELLS)
 ((SETF SPELLBOOK.SPELLS) (OBJ SPELLBOOK)) [accessor]
Description 

An array of spell-objects.

Called By 

CREATE-SPELLBOOK

SPELLBOOK.SPELLS
 (SPELLBOOK.SPELLS (OBJ SPELLBOOK)) [accessor]
Description 

An array of spell-objects.

Called By 

DISPLAY-SPELLS, VAN-INVOKE-SPELL! and VAN-LEARN-SPELL!

Slots

ID
slot ID is of type T
Description 

The id for the spellbook, used for lookups, e.g from object-kinds.

NAME
slot NAME is of type T
Description 

The name of the spellbook, used for listings.

SIZE
slot SIZE is of type T
Description 

The size of the spellbook, ie how many spells it _can_ take.

SPELLS
slot SPELLS is of type T
Description 

An array of spell-objects.

This documentation was generated Autumn 2003 from the original sources by Albert v.0.4.9.