Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Light-weight array of Activities which is optimized for short lists. Note: This is a struct.

Namespace: Visual3D.Activities
Assembly: Visual3D (in Visual3D.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
[SerializableAttribute]
public class SmallActivityList : IDisposable, 
	ICollection<IActivity>, IEnumerable<IActivity>, IEnumerable
<SerializableAttribute> _
Public Class SmallActivityList _
	Implements IDisposable, ICollection(Of IActivity),  _
	IEnumerable(Of IActivity), IEnumerable

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
SmallActivityList(IComponentOwner)
Initializes a new instance of the SmallActivityList class
SmallActivityList(Int32, IComponentOwner)
Constructor for Instance lists, which start out full-sized, but filled with nulls.
Add(IActivity)
Finds the first open slot for a new component and then adds it. This method should be used for Prototypes only during construction to add prototype children.
Array
Raw array of current active Activities (may be sparsely populated).
Clone()()()()
Creates a clone of itself.
Contains(String)
Returns 'true' if activity with specified name is found in the list.
Contains(IActivity)
CopyTo(array<IActivity>[]()[][], Int32)
Count
DefaultCapacity
DefaultSizeIncrement
Dispose()()()()
GetCount()()()()
Traverses the current array, and returns the number of active Activities found.
GetEnumerator()()()()
HasActivities
Indicates if there are any Activities currently in the list (if not, array will be null).
IndexOf(String)
Returns child index of the first activity with specified name.
IsEmpty
Indicates that the activity array is null.
IsReadOnly
Item[([( String])])
Returns first activity with the specified name.
Owner
Remove(String)
Remove(IActivity)
Removes Activity from the list. Returns 'true' if found and removed, else 'false' if not found.
Size
Current size fo the activity array. Returns '0' if array is null.
Start(IActivity)
Stop(String)
Stop(IActivity)
StopAll()()()()

Inheritance Hierarchy

System..::..Object
  Visual3D.Activities..::..SmallActivityList

See Also