Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Glue + Tiled] - Foldered entities can be instantiated in Tiled maps …
…using either forward or back slashes. [Autopmated Test] - Added test for instantiating entities.
- Loading branch information
Showing
12 changed files
with
201 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
...eTestProject/GlueTestProject/GlueTestProject/Entities/EntityFolder/TiledEntityInFolder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using FlatRedBall; | ||
using FlatRedBall.Input; | ||
using FlatRedBall.Instructions; | ||
using FlatRedBall.AI.Pathfinding; | ||
using FlatRedBall.Graphics.Animation; | ||
using FlatRedBall.Graphics.Particle; | ||
using FlatRedBall.Math.Geometry; | ||
|
||
namespace GlueTestProject.Entities.EntityFolder | ||
{ | ||
public partial class TiledEntityInFolder | ||
{ | ||
/// <summary> | ||
/// Initialization logic which is execute only one time for this Entity (unless the Entity is pooled). | ||
/// This method is called when the Entity is added to managers. Entities which are instantiated but not | ||
/// added to managers will not have this method called. | ||
/// </summary> | ||
private void CustomInitialize() | ||
{ | ||
|
||
|
||
} | ||
|
||
private void CustomActivity() | ||
{ | ||
|
||
|
||
} | ||
|
||
private void CustomDestroy() | ||
{ | ||
|
||
|
||
} | ||
|
||
private static void CustomLoadStaticContent(string contentManagerName) | ||
{ | ||
|
||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.