| 13 | module.exports = (LevelComponent = (function () { |
| 14 | LevelComponent = class LevelComponent extends CocoModel { |
| 15 | static initClass () { |
| 16 | this.className = 'LevelComponent' |
| 17 | this.schema = require('schemas/models/level_component') |
| 18 | |
| 19 | this.EquipsID = '53e217d253457600003e3ebb' |
| 20 | this.ItemID = '53e12043b82921000051cdf9' |
| 21 | this.AttacksID = '524b7ba57fc0f6d519000016' |
| 22 | this.PhysicalID = '524b75ad7fc0f6d519000001' |
| 23 | this.ExistsID = '524b4150ff92f1f4f8000024' |
| 24 | this.LandID = '524b7aff7fc0f6d519000006' |
| 25 | this.CollidesID = '524b7b857fc0f6d519000012' |
| 26 | this.PlansID = '524b7b517fc0f6d51900000d' |
| 27 | this.ProgrammableID = '524b7b5a7fc0f6d51900000e' |
| 28 | this.MovesID = '524b7b8c7fc0f6d519000013' |
| 29 | this.MissileID = '524cc2593ea855e0ab000142' |
| 30 | this.FindsPathsID = '52872b0ead92b98561000002' |
| 31 | this.AttackableID = '524b7bab7fc0f6d519000017' |
| 32 | this.RefereeID = '54977ce657e90bd1903dea72' |
| 33 | this.JuniorPlayerID = '65b29e528f43392e778c9433' |
| 34 | this.ScalesID = '52a399b98537a70000000003' |
| 35 | this.SelectableID = '524b7bb67fc0f6d519000018' |
| 36 | |
| 37 | this.ProgrammableIDs = [ |
| 38 | '524b7b5a7fc0f6d51900000e', |
| 39 | '5f7d7be6bad19a002837b394' |
| 40 | ] |
| 41 | |
| 42 | this.positionIDs = [ |
| 43 | '524b75ad7fc0f6d519000001', |
| 44 | '5f589b061d240e002298f852' |
| 45 | ] |
| 46 | this.shapeIDs = [ |
| 47 | '524b75ad7fc0f6d519000001', |
| 48 | '5f58cbfe3f40380023b02f3c' |
| 49 | ] |
| 50 | this.collisionIDs = [ |
| 51 | '524b7b857fc0f6d519000012', |
| 52 | '5f5a19ba36dd000023f89f7b' |
| 53 | ] |
| 54 | |
| 55 | this.prototype.urlRoot = '/db/level.component' |
| 56 | this.prototype.editableByArtisans = true |
| 57 | } |
| 58 | |
| 59 | set (key, val, options) { |
| 60 | let attrs |