jjHELPPARAGRAPH class JJ2+

A paragraph of a help page

A block of text, optionally with an image or an animation next to it. The game keeps this type so that scripts that build help pages still compile, but it has no help screen and never shows them.

The first constructor takes the text, its size and alignment, an optional still image and its position. The second takes an animation in place of the image.

Constructors

jjHELPPARAGRAPH()
jjHELPPARAGRAPH(const string&in text, STRING::Size textSize = STRING::SMALL, STRING::Alignment textAlignment = STRING::LEFT, const jjANIMFRAME@ image = null, HELP::Position position = HELP::LEFT)
jjHELPPARAGRAPH(const string&in text, const jjANIMATION@ image, STRING::Size textSize = STRING::SMALL, STRING::Alignment textAlignment = STRING::LEFT, HELP::Position position = HELP::LEFT)

Properties

const jjANIMATION@ animation
Animation shown next to the text, null for none
const jjANIMFRAME@ image
Still image shown next to the text, null for none
HELP::Position position
Where the image or the animation is placed next to the text
string text
Text of the paragraph
STRING::Alignment textAlignment
Alignment of the text
STRING::Size textSize
Size of the text