mirror of
https://github.com/wassname/phaser.git
synced 2026-07-26 13:27:43 +08:00
Started revamp of the Tilemap system. Also removed old 'Advanced Physics' and dropped in p2.js which is what I hope we'll eventually use.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
module.exports = Material;
|
||||
|
||||
var idCounter = 0;
|
||||
|
||||
/**
|
||||
* Defines a physics material.
|
||||
* @class Material
|
||||
* @constructor
|
||||
* @param string name
|
||||
* @author schteppe
|
||||
*/
|
||||
function Material(){
|
||||
/**
|
||||
* The material identifier
|
||||
* @property id
|
||||
* @type {Number}
|
||||
*/
|
||||
this.id = idCounter++;
|
||||
};
|
||||
Reference in New Issue
Block a user