Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/placement.js
Show All 9 Lines | |||||
*/ | */ | ||||
PlacementSupport.prototype.Reset = function() | PlacementSupport.prototype.Reset = function() | ||||
{ | { | ||||
this.mode = null; | this.mode = null; | ||||
this.position = null; | this.position = null; | ||||
this.template = null; | this.template = null; | ||||
this.tooltipMessage = ""; // tooltip text to show while the user is placing a structure | this.tooltipMessage = ""; // tooltip text to show while the user is placing a structure | ||||
this.tooltipError = false; | this.tooltipError = false; | ||||
this.socketClasses = null; | |||||
this.socketSnapEntities = null; | |||||
this.wallSet = null; // maps types of wall pieces ("tower", "long", "short", ...) to template names | this.wallSet = null; // maps types of wall pieces ("tower", "long", "short", ...) to template names | ||||
this.wallSnapEntities = null; // list of candidate entities to snap the starting and (!) ending positions to when building walls | this.wallSnapEntities = null; // list of candidate entities to snap the starting and (!) ending positions to when building walls | ||||
this.wallEndPosition = null; | this.wallEndPosition = null; | ||||
this.wallSnapEntitiesIncludeOffscreen = false; // should the next update of the snap candidate list include offscreen towers? | this.wallSnapEntitiesIncludeOffscreen = false; // should the next update of the snap candidate list include offscreen towers? | ||||
this.SetDefaultAngle(); | this.SetDefaultAngle(); | ||||
this.RandomizeActorSeed(); | this.RandomizeActorSeed(); | ||||
Show All 17 Lines |
Wildfire Games · Phabricator