Skip to content

Commit

Permalink
Added Intellisense summaries to DelayedEntityProcessingSystem.cs for …
Browse files Browse the repository at this point in the history
…both XNA_Independent as well as XBox_Phone7 projects
  • Loading branch information
capnjosh1 committed Mar 15, 2012
1 parent 619aa80 commit d4a86f1
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 22 deletions.
33 changes: 22 additions & 11 deletions ArtemisXBOX_PHONE7/DelayedEntityProcessingSystem.cs
Expand Up @@ -3,21 +3,32 @@
namespace Artemis
{
public abstract class DelayedEntityProcessingSystem : DelayedEntitySystem {
/**
* Create a new DelayedEntityProcessingSystem. It requires at least one component.
* @param requiredType the required component type.
* @param otherTypes other component types.
*/

/// <summary>
/// Create a new DelayedEntityProcessingSystem. It requires at least one component.
/// </summary>
/// <param name="requiredType">The required component type.</param>
/// <param name="otherTypes">Other component types.</param>
public DelayedEntityProcessingSystem(Type requiredType,params Type[] otherTypes) : base(GetMergedTypes(requiredType, otherTypes)){
}

/**
* Process a entity this system is interested in.
* @param e the entity to process.
*/



/// <summary>
/// Process an entity this system is interested in.
/// </summary>
/// <param name="e"></param>
/// <param name="accumulatedDelta">The entity to process.</param>
public abstract void Process(Entity e, int accumulatedDelta);




/// <summary>
/// Process all entities with the delayed Entity processing system
/// </summary>
/// <param name="entities">Entities to process</param>
/// <param name="accumulatedDelta">Total Delay</param>
public override void ProcessEntities(Dictionary<int, Entity> entities, int accumulatedDelta)
{
foreach (Entity item in entities.Values)
Expand Down
30 changes: 19 additions & 11 deletions Artemis_XNA_INDEPENDENT/DelayedEntityProcessingSystem.cs
Expand Up @@ -3,21 +3,29 @@
namespace Artemis
{
public abstract class DelayedEntityProcessingSystem : DelayedEntitySystem {

/**
* Create a new DelayedEntityProcessingSystem. It requires at least one component.
* @param requiredType the required component type.
* @param otherTypes other component types.
*/


/// <summary>
/// Create a new DelayedEntityProcessingSystem. It requires at least one component.
/// </summary>
/// <param name="requiredType">The required component type.</param>
/// <param name="otherTypes">Other component types.</param>
public DelayedEntityProcessingSystem(Type requiredType,params Type[] otherTypes) : base(GetMergedTypes(requiredType, otherTypes)){
}

/**
* Process a entity this system is interested in.
* @param e the entity to process.
*/

/// <summary>
/// Process an entity this system is interested in.
/// </summary>
/// <param name="e"></param>
/// <param name="accumulatedDelta">The entity to process.</param>
public abstract void Process(Entity e, int accumulatedDelta);


/// <summary>
/// Process all entities with the delayed Entity processing system
/// </summary>
/// <param name="entities">Entities to process</param>
/// <param name="accumulatedDelta">Total Delay</param>
public override void ProcessEntities(Dictionary<int, Entity> entities, int accumulatedDelta)
{
foreach (Entity item in entities.Values)
Expand Down

0 comments on commit d4a86f1

Please sign in to comment.