Implement PRGSLOT

This commit is contained in:
otya128 committed 2016-12-28 22:51:22 +09:00
1 parent 834480e9ac
commit 692c7907e9
3 files changed
+10 -1

No files matched your search

+8
View File
@@ -131,3 +131,11 @@ class MilliSecond : SystemVariable
return Value(cast(int)SDL_GetTicks());
}
}
class ProgramSlot : SystemVariable
{
@property
override Value value()
{
return Value(vm.petitcomputer.program.currentSlot);
}
}