Namespace: DeltaEngine.Rendering2D.Tests
Assembly: DeltaEngine.Rendering2D.Tests (in DeltaEngine.Rendering2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering2D.Tests (in DeltaEngine.Rendering2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void RenderHierachyEntityWithAttachedSprites() { var mainEntity = new Sprite(logoMaterial, Rectangle.HalfCentered); mainEntity.Add(new Sprite(logoMaterial, Rectangle.FromCenter(0.3f, 0.3f, 0.1f, 0.1f))); new Command(Command.Click, delegate(Vector2D position) { mainEntity.Center = position; }); }
See Also