simple

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAttack added in v1.21.0

func GetAttack(world w.World, target ecs.Entity) *components.Attack

func GetCard added in v1.21.0

func GetCard(world w.World, target ecs.Entity) *components.Card

func GetDescription

func GetDescription(world w.World, target ecs.Entity) components.Description

func GetMaterial

func GetMaterial(world w.World, target ecs.Entity) *components.Material

func GetName added in v1.15.0

func GetName(world w.World, target ecs.Entity) components.Name

func GetWearable

func GetWearable(world w.World, target ecs.Entity) *components.Wearable

func InPartyMember added in v1.15.0

func InPartyMember(world w.World, f func(entity ecs.Entity))

パーティメンバー

func OwnedMaterial

func OwnedMaterial(f func(entity ecs.Entity), world w.World)

所持中の素材 TODO: worldを先に置く

func QueryMenuItem added in v1.21.0

func QueryMenuItem(world w.World) []ecs.Entity

メニュー上でいうアイテムを取得する。エンティティ上はCardもItemを持っているので、排除する

Types

This section is empty.

Jump to

Keyboard shortcuts

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