Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context gives information about the state of the current line of the script
func (*Context) HandleTags ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
A Node is a Ren'Py label and some properties, including its graph representation
type RenpyGraph ¶
type RenpyGraph struct {
// contains filtered or unexported fields
}
RenpyGraph is the graph of Ren'Py story structure
func (*RenpyGraph) AddEdge ¶
func (g *RenpyGraph) AddEdge(tags Tag, label ...string)
AddEdge to the renpy graph
func (*RenpyGraph) AddNode ¶
func (g *RenpyGraph) AddNode(tags Tag, label string)
AddNode to the ren'py graph, ignore if label already exists
func (*RenpyGraph) CreateFile ¶
func (g *RenpyGraph) CreateFile(fileName string) error
GetDotGraphFile creates a file with the graph description in dot language It is meant to be used on a computer
func (RenpyGraph) PrettyPrint ¶
func (g RenpyGraph) PrettyPrint()
PrettyPrint prints the graph in the terminal
func (*RenpyGraph) String ¶
func (g *RenpyGraph) String() string
String returns a string with the graph description in dot language It is meant to be used by other libraries or programs
Click to show internal directories.
Click to hide internal directories.
Routes of the Question, the classic Ren'Py example
An extract from my personnal VN,