AEL_EBlock

package
v0.0.0-...-d04e7c8 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Location types.Vector3

	Velocity types.Vector3

	Matrix types.Matrix3

	BoundBox volume.Box[float64]

	Box render.Box

	PhysicMove bool
}

func NewBlock

func NewBlock(x, y, z float64, xs, ys, zs float64, img *ebiten.Image, isMove bool) Block

func (*Block) GetColliseObject

func (block *Block) GetColliseObject() collise.ColliseObject

func (*Block) GetKinematicObject

func (block *Block) GetKinematicObject() kinematic.KinematicObject

func (*Block) GetObjectToMove

func (block *Block) GetObjectToMove() (*types.Vector3, *types.Matrix3)

func (*Block) GetRenderObject

func (block *Block) GetRenderObject() pipeline.RenderObject

type InstancesEmiter

type InstancesEmiter[Object any] struct {
	// contains filtered or unexported fields
}

func NewEmiter

func NewEmiter[Object any](count int, instance Object) InstancesEmiter[Object]

func (*InstancesEmiter[Object]) GetRenderObject

func (emiter *InstancesEmiter[Object]) GetRenderObject() pipeline.RenderObject

Jump to

Keyboard shortcuts

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