road

package
v0.0.0-...-e134886 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Road

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

func NewRoad

func NewRoad(renderer *sdl.Renderer) (*Road, error)

func (*Road) Destroy

func (road *Road) Destroy()

func (*Road) Paint

func (road *Road) Paint(renderer *sdl.Renderer) error

func (*Road) Restart

func (road *Road) Restart()

func (*Road) SetSpeed

func (road *Road) SetSpeed(speed int32)

func (*Road) Update

func (road *Road) Update()

Jump to

Keyboard shortcuts

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