 |
Crossfire JXClient, Trunk
|
Go to the documentation of this file.
23 package com.realtime.crossfire.jxclient.spells;
25 import org.jetbrains.annotations.NotNull;
176 System.err.println(
"Warning: ignoring unrecognized spell path: 0x"+Integer.toHexString(tmp));
188 private static int appendSpellPath(
final int paths,
final int path, @NotNull
final String description, @NotNull
final StringBuilder sb) {
189 if ((paths&path) != 0) {
190 sb.append(
" ").append(description);
static final int PATH_TRANSMUTE
The bitmask for the spell path "transmute".
static final int PATH_ELEC
The bitmask for the spell path "electricity".
Utility class for spell path related functions.
static final int PATH_TURNING
The bitmask for the spell path "turning".
static final int PATH_SUMMON
The bitmask for the spell path "summoning".
static int warningPaths
The unrecognized spell paths for which a warning to the console has been printed.
static final int PATH_RESTORE
The bitmask for the spell path "restoration".
SpellPaths()
Private constructor to prevent instantiation.
static final int PATH_PROT
The bitmask for the spell path "protection".
static final int PATH_DEATH
The bitmask for the spell path "death".
static final int PATH_FROST
The bitmask for the spell path "frost".
static final int PATH_DETONATE
The bitmask for the spell path "detonation".
static final int PATH_MISSILE
The bitmask for the spell path "missile".
static final int PATH_FIRE
The bitmask for the spell path "fire".
static final int PATH_MIND
The bitmask for the spell path "mind".
static int appendSpellPath(final int paths, final int path, @NotNull final String description, @NotNull final StringBuilder sb)
Appends a spell path description.
static final int PATH_CREATE
The bitmask for the spell path "creation".
static final int PATH_LIGHT
The bitmask for the spell path "light".
static final int PATH_ABJURE
The bitmask for the spell path "abjuration".
static void appendSpellPaths(final int path, @NotNull final StringBuilder sb)
Appends a human-readable description of a set of spell paths to a StringBuilder instance.
static final int PATH_INFO
The bitmask for the spell path "information".
static final int PATH_TELE
The bitmask for the spell path "teleportation".
static final int PATH_SELF
The bitmask for the spell path "self".
static final int PATH_TRANSFER
The bitmask for the spell path "transfer".
static final int PATH_WOUNDING
The bitmask for the spell path "wounding".