formatting

pull/5/head
Evan Hemsley 2019-06-15 12:32:56 -07:00
parent d9756e0c3d
commit 700f10f31e
1 changed files with 7 additions and 4 deletions

View File

@ -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;