html

package
v0.0.0-...-0ab8a27 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

func New() (*App, error)

func (*App) Routes

func (a *App) Routes(router chi.Router)

type BoardState

type BoardState struct {
	FamilyRestingSlots []FamilyRestingSlot
	ArcanaRestingSlots []FamilyRestingSlot
	Slots              []Slot
	Cards              []CardData
}

type CardData

type CardData struct {
	Card cards.Card

	IsAttachToSlot bool
	Slot           uint8

	IsAttachToCard bool
	AttachToCard   cards.Card

	IsResting bool

	Layer uint8
}

type FamilyRestingSlot

type FamilyRestingSlot struct {
	Family     string
	Attachable uint8
	Direction  string
}

type Slot

type Slot struct {
	Number uint8
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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