Implemented remaining core features
This commit is contained in:
9
rpg-docs/Model/Character/Levels/Levels.js
Normal file
9
rpg-docs/Model/Character/Levels/Levels.js
Normal file
@@ -0,0 +1,9 @@
|
||||
Levels = new Meteor.Collection("levels");
|
||||
|
||||
Schemas.Level = new SimpleSchema({
|
||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
||||
classId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
||||
value: {type: Number}
|
||||
});
|
||||
|
||||
Levels.attachSchema(Schemas.Level);
|
||||
Reference in New Issue
Block a user