|
@@ -10,7 +10,7 @@ import * as Font from 'expo-font';
|
|
|
|
|
|
|
|
|
|
import Data from '!!raw-loader!../../rules/Universal.css';
|
|
import Data from '!!raw-loader!../../rules/Universal.css';
|
|
-
|
|
|
|
|
|
+import BaseRules from '!!raw-loader!../../rules/BaseRules.css';
|
|
|
|
|
|
export default class CoreSystem {
|
|
export default class CoreSystem {
|
|
constructor(dev = false) {
|
|
constructor(dev = false) {
|
|
@@ -28,6 +28,7 @@ export default class CoreSystem {
|
|
this.RulingSystem = new RulingSystem();
|
|
this.RulingSystem = new RulingSystem();
|
|
InjectionSystem.depend("Ruling", this.RulingSystem);
|
|
InjectionSystem.depend("Ruling", this.RulingSystem);
|
|
this.RulingSystem.addRuleFile(Data);
|
|
this.RulingSystem.addRuleFile(Data);
|
|
|
|
+ this.RulingSystem.addRuleFile(BaseRules);
|
|
this.RulingSystem.onUpdate(() => this.forceUpdate())
|
|
this.RulingSystem.onUpdate(() => this.forceUpdate())
|
|
|
|
|
|
this.ViewSystem = new ViewSystem(this);
|
|
this.ViewSystem = new ViewSystem(this);
|