scenerenderer

package
v0.0.0-...-85dc63b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct {
	// contains filtered or unexported fields
}

Template contains the room templates.

func New

func New() Template

New makes a new set of templates for room descriptions.

func (*Template) ExecuteTemplate

func (t *Template) ExecuteTemplate(state gamemanager.GameState, tmpl string) (string, error)

ExecuteTemplate executes a rooms description template and returns a string.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL