Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/components/Mirage.js
Show All 10 Lines | |||||
Mirage.prototype.Init = function() | Mirage.prototype.Init = function() | ||||
{ | { | ||||
this.parent = INVALID_ENTITY; | this.parent = INVALID_ENTITY; | ||||
this.player = null; | this.player = null; | ||||
this.miragedIids = new Map(); | this.miragedIids = new Map(); | ||||
}; | }; | ||||
Mirage.prototype.Update = function(newTemplate) | |||||
{ | |||||
this.template = newTemplate; | |||||
warn("Mirage.Update: not implemented"); | |||||
}; | |||||
Mirage.prototype.SetParent = function(ent) | Mirage.prototype.SetParent = function(ent) | ||||
{ | { | ||||
this.parent = ent; | this.parent = ent; | ||||
}; | }; | ||||
Mirage.prototype.GetParent = function() | Mirage.prototype.GetParent = function() | ||||
{ | { | ||||
return this.parent; | return this.parent; | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator