Closed jorisdormans closed 12 years ago
Can not reproduce, the following code snippet works:
Entity e1 = new Entity(Vector2.One * 10); e1.AddComponent(new Mover(Vector2.Zero, .8f, 1f)); e1.AddComponent(new OABB(Vector2.One * 20)); e1.AddComponent(new ShapeRenderer(3, Color.Azure)); this.layer.AddComponent(e1); e1 = new Entity(Vector2.One * 10); e1.AddComponent(new Mover(Vector2.Zero, .8f, 1f)); e1.AddComponent(new OABB(Vector2.One * 10)); e1.AddComponent(new ShapeRenderer(3, Color.DarkRed)); this.layer.AddComponent(e1);
Can not reproduce, the following code snippet works: