Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
wif
master
Top Level Namespace
AbstractFrontend
AddKillStress
BearLibFrontend
BestFriend
Button
ChatForm
ChatMemo
ChatMessage
CheckEndGame
Color
ColorPair
Compatibility
CompatLevels
Config
Control
CurDate
DaySystem
DiagForm
DumpSpoilers
ECSSerializer
Enumerable
Failure
FailureType
FixFailures
FocusableControl
Frontend
GameComponent
GameOver
GameOverForm
GameSystems
GenerationComplete
IncRelations
IndicateStressChange
Key
Killed
KillSequence
Label
LifeConfig
LifeSupport
ListBox
MainForm
Memo
MouseEvent
Name
NextDay
NoArmor
NoChat
NoKills
OnClick
OnClickItem
OnKey
OnMouseMove
OnSelectItem
Particle
Person
PersonForm
PersonKillId
PrevStressLevel
ProcessingResult
ProcessKill
PsychoForm
PuzzleGenerator
QuitEvent
Relation
Relations
Revenge
RevengeItem
RNG
ScrollDay
SelectedPerson
ShowIntro
SkillLevel
SkillLevels
Skills
SkipStartup
StartupForm
StressBehaviour
StressBehaviours
StressEffect
StressLevel
StressRelease
String
TabControl
TerminalHelper
TestingSystem
UpdateLifeConfig
UpdateRevenge
UpdateStressEffects
Win
Window
WinForm
WorkCategory
Working
Generated using Crystal 1.14.0
2024-12-20 18:40:23 UTC
struct
StressBehaviours
StressBehaviours
GameComponent
ECS::Component
Struct
Value
Object
Defined in:
wif/game/stress.cr
Constructors
.new
(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
.new
(levels : Array(ECS::Entity))
Class Method Summary
.component_index
Instance Method Summary
#clone
#copy_with
(levels _levels = @levels)
#levels
: Array(ECS::Entity)
Instance methods inherited from struct
GameComponent
after_initialize
after_initialize
Constructor methods inherited from struct
GameComponent
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new
Class methods inherited from struct
GameComponent
component_index
component_index
Constructor Detail
def self.
new
(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
def self.
new
(levels : Array(
ECS::Entity
))
#
[
View source
]
Class Method Detail
def self.
component_index
#
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(levels _levels = @levels)
#
[
View source
]
def
levels
: Array(
ECS::Entity
)
#