Implement HARDWARE sytem variable

This commit is contained in:
otya128 committed 2016-12-16 23:04:17 +09:00
1 parent 97d057aabc
commit e106374bb6
3 files changed
+16

No files matched your search

+8
View File
@@ -116,3 +116,11 @@ class Result : SystemVariable
return Value(vm.petitcomputer.project.result);
}
}
class Hardware : SystemVariable
{
@property
override Value value()
{
return Value(cast(int)vm.petitcomputer.hardware);
}
}