Skip to content

Commit

Permalink
Changed name passed to get component test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamerfiend committed Nov 19, 2018
1 parent f3d77d1 commit e2b7d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ecs.kit
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ function main()
var boxComponent: Box[Component] = positionComponent;
entity1.addComponent(boxComponent);

var returnedBoxedComponent: Box[Component] = entity1.getComponent("PositionComponent");
var returnedBoxedComponent: Box[Component] = entity1.getComponent("Position");
}

0 comments on commit e2b7d3d

Please sign in to comment.