mirror of
https://github.com/wassname/phaser.git
synced 2026-08-11 11:23:06 +08:00
Added the new Button game object and various other input and tilemap fixes.
This commit is contained in:
@@ -312,6 +312,22 @@ module Phaser {
|
||||
|
||||
}
|
||||
|
||||
public removeCanvas(key: string) {
|
||||
delete this._canvases[key];
|
||||
}
|
||||
|
||||
public removeImage(key: string) {
|
||||
delete this._images[key];
|
||||
}
|
||||
|
||||
public removeSound(key: string) {
|
||||
delete this._sounds[key];
|
||||
}
|
||||
|
||||
public removeText(key: string) {
|
||||
delete this._text[key];
|
||||
}
|
||||
|
||||
/**
|
||||
* Clean up cache memory.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user