war

package
v0.0.0-...-cd5db6d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEmptyWar

func NewEmptyWar(attack *model.Army) *model.WarReport

func NewWar

func NewWar(attack *model.Army, defense *model.Army) *warResult

Types

type Battle

type Battle struct {
	IArmyLogic ILogic.IArmyLogic
	// contains filtered or unexported fields
}

func NewBattle

func NewBattle(attackArmy *model.Army, armyLogic ILogic.IArmyLogic) *Battle

简单战斗

func (*Battle) OccupyRoleBuild

func (this *Battle) OccupyRoleBuild(rid, x, y int)

func (*Battle) OccupySystemBuild

func (this *Battle) OccupySystemBuild(rid, x, y int)

Jump to

Keyboard shortcuts

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