Methods_T_WolfCurses_InputManager - Maxwolf/WolfCurses GitHub Wiki

InputManager Methods

The InputManager type exposes the following members.

Methods

 

Name Description
Public method AddCharToInputBuffer Populates an internal input buffer for the simulation that is used to eventually return a possible command string to active game Windows.
Public method ClearBuffer Removes any text data from the input buffer resetting it to an empty string again.
Public method Destroy Fired when the simulation is closing and needs to clear out any data structures that it created so the program can exit cleanly. (Overrides Module.Destroy().)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method OnTick Called when the simulation is ticked by underlying operating system, game engine, or potato. Each of these system ticks is called at unpredictable rates, however if not a system tick that means the simulation has processed enough of them to fire off event for fixed interval that is set in the core simulation by constant in milliseconds. (Overrides Module.OnTick(Boolean, Boolean).)
Public method RemoveLastCharOfInputBuffer Removes the last character from input buffer if greater than zero.
Public method SendInputBufferAsCommand Clears the input buffer and submits whatever was in there to the simulation for processing. Implementation is left up the game simulation itself entirely.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Extension Methods

 

Name Description
Public Extension Method ToDescriptionAttribute Attempts to grab description attribute from any object. (Defined by AttributeExtensions.)
  Back to Top

See Also

Reference

InputManager Class
WolfCurses Namespace

⚠️ **GitHub.com Fallback** ⚠️