public Textbox(NarrativeState state) { State = state; var size = new Vector2(Game.ViewportWidth - 32, (Game.ViewportHeight - 32) * 0.4f); var pos = new Vector2(Game.ViewportWidth - 16, Game.ViewportHeight - 16) - size; Bounds = Bounds.FromPositionAndSize(pos, size); }
// BLEH. Don't want to require every scene class to define a constructor that just calls base()... public void Initialize(NarrativeState state) { State = state; }