Skip to content

Commit

Permalink
Remove redundant override, see #45
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Mar 4, 2022
1 parent 4dc5bfd commit a031454
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/common/model/SoccerModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,7 @@ class SoccerModel extends CASModel {
const position = new Vector2( 0, y0 );

const casObject = this.createObject( {
position: position,

// TODO: should be a default if it isnt already
velocity: Vector2.ZERO
position: position
} );

casObject.valueProperty.link( ( value, oldValue ) => {
Expand Down

0 comments on commit a031454

Please sign in to comment.