mapobjects

package
v0.0.0-...-57f8e72 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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 Wall

type Wall struct {
	Pos       *rl.Rectangle
	WallWidth int
	WallColor rl.Color
	// contains filtered or unexported fields
}

func InitWall

func InitWall(wallWidth int, position string, window rl.Rectangle) *Wall

func (Wall) DrawObject

func (wall Wall) DrawObject()

func (Wall) GetHandlerByType

func (wall Wall) GetHandlerByType(obType gameobject.ObjectType) gameobject.CollisionHandlerFunction

func (Wall) GetMarkedForDestroy

func (wall Wall) GetMarkedForDestroy() bool

func (Wall) GetObjectType

func (wall Wall) GetObjectType() gameobject.ObjectType

func (Wall) GetObjectTypeString

func (wall Wall) GetObjectTypeString() string

func (Wall) GetPosition

func (wall Wall) GetPosition() rl.Rectangle

func (Wall) GetUuid

func (wall Wall) GetUuid() string

func (*Wall) SetMarkedForDestroy

func (wall *Wall) SetMarkedForDestroy()

Jump to

Keyboard shortcuts

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