public override void OnLoadContent(ContentLoader content) { // Restore static references from savegame foreach (var Verb in Verbs.All) { if (this.Verb.Equals(Verb)) { this.Verb = Verb; } } base.OnLoadContent(content); }
public VerbButton(LockedVerb verb) { Verb = verb; HotspotRectangle .Create(this) .SetCaption(verb.Text) .AddRectangle(verb.ScreenRectangle); Transform .Create(this) .SetZ(InteractionBar.Z + 1); }
public void SelectVerb(LockedVerb verb) { Primary = null; Secondary = null; Verb = verb; }
public void Reset() { Primary = null; Secondary = null; Verb = Verbs.Walk; }