forked from plainblack/Lacuna-Web-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modulePoliceStation.js
32 lines (23 loc) · 969 Bytes
/
modulePoliceStation.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
YAHOO.namespace("lacuna.modules");
if (typeof YAHOO.lacuna.modules.PoliceStation == "undefined" || !YAHOO.lacuna.modules.PoliceStation) {
(function(){
var Lang = YAHOO.lang,
Util = YAHOO.util,
Dom = Util.Dom,
Event = Util.Event,
Pager = YAHOO.widget.Paginator,
Sel = Util.Selector,
Lacuna = YAHOO.lacuna,
Game = Lacuna.Game,
Lib = Lacuna.Library;
var PoliceStation = function(result){
PoliceStation.superclass.constructor.call(this, result);
this.service = Game.Services.Modules.PoliceStation;
this.foreignSpiesMessage = "There may be spies on your station that we don't know about.";
};
Lang.extend(PoliceStation, Lacuna.buildings.Security);
YAHOO.lacuna.modules.PoliceStation = PoliceStation;
})();
YAHOO.register("policestation", YAHOO.lacuna.modules.PoliceStation, {version: "1", build: "0"});
}
// vim: noet:ts=4:sw=4