This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) | |
/******/ return installedModules[moduleId].exports; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Player extends meEntity { | |
constructor(x, y, settings) { | |
super(x, y, settings); | |
} | |
update(dt) { | |
super.update(dt); | |
} | |
onCollision(a, b) { | |
return false; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
game.CollisionStateEntity = me.Entity.extend({ | |
init: function(x, y, settings) { | |
this._super(me.Entity, 'init', [x, y , settings]); | |
this.entitiesInside = {}; | |
this.entitiesInsideThisFrame = {}; | |
}, | |
update: function (dt) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RHashManager | |
// by Richard van Zon (c) Relectus | |
// | |
// Public Domain | |
// | |
@import <Foundation/CPObject.j> | |
var sharedHashManager = nil; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation CPObject(delayedSelectorPerforming) | |
{ | |
} | |
- (void)performSelector:(SEL)aSelector withObject:(id)anObject afterDelay:(CPTimeInterval)aDelay | |
{ | |
setTimeout(function() { objj_msgSend(self, aSelector, anObject); }, aDelay * 1000); | |
} | |
@end |
NewerOlder