Nez 0.2.x update

This commit is contained in:
prime31 2019-11-27 12:10:52 -08:00 committed by GitHub
parent b2f5b34653
commit a58f6aba3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ namespace project_name
CreateEntity("demo imgui draw commands")
.SetPosition(new Vector2(150, 150))
.AddComponent<DemoComponent>()
.AddComponent(new PrototypeSprite(20, 20));
.AddComponent(new PrototypeSpriteRenderer(20, 20));
var logo = Content.Load<Texture2D>("nez-logo-black");
CreateEntity("logo")