public Activity ( float secondDifference ) : void | ||
secondDifference | float | The amount of time that has passed since last update. |
리턴 | void |
public void Activity(LayeredTileMap layeredTileMap) { foreach (var kvp in mAnimationChainContainers) { AnimationChainContainer container = kvp.Value; int indexBefore = container.CurrentFrameIndex; container.Activity(TimeManager.SecondDifference); if (container.CurrentFrameIndex != indexBefore) { ReactToChangedAnimationFrame(kvp.Key, kvp.Value, layeredTileMap); } } }
public void Activity(LayeredTileMap layeredTileMap) { foreach (var kvp in mAnimationChainContainers) { AnimationChainContainer container = kvp.Value; int index = container.CurrentFrameIndex; container.Activity(TimeManager.SecondDifference); if (container.CurrentFrameIndex != index) { if (container.AnimationChain.Name.StartsWith("Rain")) { int m = 3; } ReactToChangedAnimationFrame(kvp.Key, kvp.Value, layeredTileMap); } } }