Update SPECIFICATION.MD
This commit is contained in:
parent
92803e7852
commit
4908442e65
|
@ -166,14 +166,14 @@ unless stated you should assume that any arguments are pushed or poped from the
|
|||
- Forms can be implementations of interfaces, collsions are not important as the names of interfaces only carry what needs to be implemented a not any implemtntation itself. for people coming from OOP you can think of this similar to an abstract class.
|
||||
- there are also a list of "substantial forms" which come with the language which are the building blocks for more complex forms. If you are coming from object oriented languages you can think of this as "primitive types"
|
||||
|
||||
"form name" string for the command
|
||||
«dimensions» this returns how many dimensions it can exist in, 0th means non drawable, 2 means 2D GUI usually, 3 means 3D object, and >3 is somthing you will have to implement yourself, e.g. miegakure
|
||||
«unit» this is for the unit/measures system
|
||||
«display» some kind of procedure to draw the element in space or None
|
||||
«position» a position in space or None
|
||||
«data» a list containing the data of that form
|
||||
`frmdef`
|
||||
-
|
||||
string for the command
|
||||
this returns how many dimensions it can exist in, 0th means non drawable, 2 means 2D GUI usually, 3 means 3D object, and >3 is somthing you will have to implement yourself, e.g. miegakure
|
||||
this is for the unit/measures system
|
||||
some kind of procedure to draw the element in space or None
|
||||
a position in space or None
|
||||
a list containing the data of that form
|
||||
|
||||
"form name" «dimensions» «unit» «display» «position» «data» `frmdef` -
|
||||
|
||||
# Substantial Forms
|
||||
|
||||
|
|
Loading…
Reference in New Issue