Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
TraitSeesaw.cs
Go to the documentation of this file.
2{
3 public override bool UseAltTiles => owner.isOn;
4
5 public override void OnActivateTrap(Chara c)
6 {
7 owner.isOn = !owner.isOn;
8 owner.PlaySound("seesaw");
9 TraitSwitch.haltMove = false;
10 }
11}
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
Definition: Card.cs:5404
bool isOn
Definition: Card.cs:514
Definition: Chara.cs:10
override void OnActivateTrap(Chara c)
Definition: TraitSeesaw.cs:5
override bool UseAltTiles
Definition: TraitSeesaw.cs:3
Card owner
Definition: Trait.cs:26