loader

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const MaxGridSize = 50

最大のグリッドサイズ

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

type Entity struct {
	Components GameComponentList
}

type GameComponentList

type GameComponentList struct {
	GridElement      *gc.GridElement
	Player           *gc.Player
	Camera           *gc.Camera
	Wall             *gc.Wall
	Warp             *gc.Warp
	Item             *gc.Item
	Name             *gc.Name
	Description      *gc.Description
	InBackpack       *gc.InBackpack
	Equipped         *gc.Equipped
	Consumable       *gc.Consumable
	InParty          *gc.InParty
	Member           *gc.Member
	Pools            *gc.Pools
	ProvidesHealing  *gc.ProvidesHealing
	InflictsDamage   *gc.InflictsDamage
	Attack           *gc.Attack
	Material         *gc.Material
	Recipe           *gc.Recipe
	Wearable         *gc.Wearable
	Attributes       *gc.Attributes
	EquipmentChanged *gc.EquipmentChanged
	Card             *gc.Card

	Position     *gc.Position
	SpriteRender *ec.SpriteRender
	BlockView    *gc.BlockView
	BlockPass    *gc.BlockPass
}

type PackageData

type PackageData struct {
	Name   string
	Levels []vutil.Vec2d[byte]
}

1つのパッケージは複数の階層を持つ

type Tile

type Tile uint8

フィールドのタイル

const (
	TileEmpty Tile = 0
	TileWall  Tile = 1 << iota
)

Jump to

Keyboard shortcuts

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