formatting
parent
d9756e0c3d
commit
700f10f31e
|
@ -5,7 +5,8 @@ using Encompass;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Tests {
|
namespace Tests
|
||||||
|
{
|
||||||
public class EngineTest
|
public class EngineTest
|
||||||
{
|
{
|
||||||
static IEnumerable<MockComponent> resultComponents;
|
static IEnumerable<MockComponent> resultComponents;
|
||||||
|
@ -105,7 +106,8 @@ namespace Tests {
|
||||||
public override void Update(float dt)
|
public override void Update(float dt)
|
||||||
{
|
{
|
||||||
var component = this.ReadComponent<MockComponent>();
|
var component = this.ReadComponent<MockComponent>();
|
||||||
this.UpdateComponent(component, (MockComponent comp) => {
|
this.UpdateComponent(component, (MockComponent comp) =>
|
||||||
|
{
|
||||||
comp.myInt = 420;
|
comp.myInt = 420;
|
||||||
comp.myString = "blaze it";
|
comp.myString = "blaze it";
|
||||||
return comp;
|
return comp;
|
||||||
|
@ -141,7 +143,8 @@ namespace Tests {
|
||||||
public override void Update(float dt)
|
public override void Update(float dt)
|
||||||
{
|
{
|
||||||
var component = this.ReadComponent<MockComponent>();
|
var component = this.ReadComponent<MockComponent>();
|
||||||
this.UpdateComponent(component, (MockComponent comp) => {
|
this.UpdateComponent(component, (MockComponent comp) =>
|
||||||
|
{
|
||||||
comp.myInt = 420;
|
comp.myInt = 420;
|
||||||
comp.myString = "blaze it";
|
comp.myString = "blaze it";
|
||||||
return comp;
|
return comp;
|
||||||
|
|
Loading…
Reference in New Issue