Click or drag to resize
GeneralRulesCurrentView Property
If multiple views are visible, this determines which view is currently active.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public virtual int CurrentView { get; set; }

Property Value

Type: Int32
Remarks
Only the currently active view is affected by functions like ScrollSpriteIntoView(SpriteBase, Boolean), and only the current view is drawn by Draw. DrawAllViews is called during the main loop to cycle through each visible view (changing this value) and draw it. The scope of this value is limited to the map, so setting it affects only the map containing this object.
See Also