mappkg

package
Version: v0.0.0-...-f1dee3b Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 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 Map

type Map interface {
	ToProto() *Message_proto.Map
	GetWidth() float32
	GetHeight() float32
	GetNumCols() int
	GetNumRows() int
	IsCollide(x float32, y float32) bool
	GetRectBlocks() []shape.Rect
}

func NewMap

func NewMap(blockWidth float32, blockHeight float32) Map

NewMap creates a new map

Source Files

Jump to

Keyboard shortcuts

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