Unit definitions and spawning #4
Labels
No labels
area/ai
area/build
area/character
area/combat
area/data
area/docs
area/game
area/net
area/ui
area/world
size
l
size
m
size
s
type
bug
type
design
type
feature
type
refactor
type
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
icub3d/terra-redux#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Get units onto the map: player-controlled characters from the roster, and hostiles.
CharacterDef(src/character/definition.rs) is the authored person; it has no combatstats. This issue adds the combat-side definition and the components that represent a
unit in a mission.
Scope
UnitDef— combat stats as data: health,TurnSpeed, movement allowance, a basicattack. RON, loaded through the existing
RonAssettrait.Health,TurnSpeed,ActionPoints(u8),GridPos, and a team/allegiance marker.primitives, tinted
UNIT_PLAYER/UNIT_ENEMYfromtheme::semantic.Acceptance criteria
CharacterId, so a save can point at it.the same positions, in the same order.