Skip to content

Commit ea0af28

Browse files
committed
Default preUpdate function.
1 parent b5e8e18 commit ea0af28

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

v3/src/gameobjects/GameObject.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ var GameObject = new Class({
3131
this.renderFlags = 15;
3232
},
3333

34+
// To be overridden by custom Game Objects
35+
preUpdate: function ()
36+
{
37+
},
38+
3439
destroy: function ()
3540
{
3641
this.parent.remove(this);

0 commit comments

Comments
 (0)