本文整理汇总了C#中IGame.GetNodeList方法的典型用法代码示例。如果您正苦于以下问题:C# IGame.GetNodeList方法的具体用法?C# IGame.GetNodeList怎么用?C# IGame.GetNodeList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IGame
的用法示例。
在下文中一共展示了IGame.GetNodeList方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddToGame
public override void AddToGame(IGame game)
{
games = game.GetNodeList<GameNode>();
spaceships = game.GetNodeList<SpaceshipCollisionNode>();
asteroids = game.GetNodeList<AsteroidCollisionNode>();
bullets = game.GetNodeList<BulletCollisionNode>();
}
示例2: AddToGame
public override void AddToGame(IGame game)
{
games = game.GetNodeList<GameNode>();
players = game.GetNodeList<PlayerCollisionNode>();
asteroids = game.GetNodeList<AsteroidCollisionNode>();
bullets = game.GetNodeList<BulletCollisionNode>();
}
示例3: AddToGame
public override void AddToGame(IGame game)
{
this.engine = game;
waitNodes = game.GetNodeList<WaitForStartNode>();
gameNodes = game.GetNodeList<GameNode>();
asteroids = game.GetNodeList<AsteroidCollisionNode>();
}
示例4: AddToGame
public override void AddToGame(IGame game)
{
this.engine = game;
networkNodes = game.GetNodeList<NetworkNode> ();
///waitNodes = game.GetNodeList<WaitForStartNode>();
gameNodes = game.GetNodeList<GameNode>();
//platformNodes = game.GetNodeList<PlatformNode> ();
//asteroids = game.GetNodeList<AsteroidCollisionNode>();
}
示例5: AddToGame
public override void AddToGame(IGame game)
{
this.engine = game;
gameNodes = game.GetNodeList<GameNode>();
player = game.GetNodeList<PlayerNode> ();
networkNodes = game.GetNodeList<NetworkNode> ();
platformNodes = game.GetNodeList<PlatformNode> ();
}
示例6: AddToGame
public override void AddToGame(IGame game)
{
this.engine = game;
gameNodes = game.GetNodeList<GameNode>();
players= game.GetNodeList<PlayerNode> ();
networkNodes = game.GetNodeList<NetworkNode> ();
platformNodes = game.GetNodeList<PlatformNode> ();
asteroids = game.GetNodeList<AsteroidCollisionNode> ();
}
示例7: AddToGame
/**
* Called just after the system is added to the game, before any calls to the update method.
* Override this method to add your own functionality.
*
* @param game The game the system was added to.
*/
public override void AddToGame(IGame game)
{
nodeList = game.GetNodeList(nodeClass);
if(NodeAdded != null)
{
for(Node node = nodeList.Head; node != null; node = node.Next)
{
NodeAdded(node);
}
}
}
示例8: AddToGame
public override void AddToGame(IGame game)
{
nodes = game.GetNodeList<GunControlNode>();
}
示例9: AddToGame
public override void AddToGame(IGame game)
{
nodes = game.GetNodeList<BulletAgeNode>();
}
示例10: AddToGame
public override void AddToGame(IGame game)
{
nodes = game.GetNodeList<MotionControlsNode>();
gameNodes = game.GetNodeList<GameNode> ();
}
示例11: AddToGame
public override void AddToGame(IGame game)
{
nodes = game.GetNodeList<DeathThroesNode>();
nodes.NodeAdded += OnNodeAdded;
}
示例12: AddToGame
public override void AddToGame(IGame game)
{
nodes = game.GetNodeList<HudNode>();
}