cubeModel.vwf.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "extends": "proxy/aframe/aentity.vwf",
  3. "properties": {
  4. "cubeID": {
  5. "set": "this.cubeID_set(value)",
  6. "get": "return this.cubeID_get()"
  7. },
  8. "robotID": null,
  9. "withRobot": false,
  10. "editCube": false,
  11. "twistQueue": [],
  12. "twistQueueHistory": [],
  13. "actions":null
  14. },
  15. "methods": {
  16. "initialize": {},
  17. "cubeID_set": {
  18. "parameters": [
  19. "value"
  20. ]
  21. },
  22. "cubeID_get": {},
  23. "initializeCubelets": {},
  24. "rotateFront": {},
  25. "addGUI": {},
  26. "inspect":{},
  27. "getCubeModel": {},
  28. "getCubelets": {},
  29. "getCubeModelID": {},
  30. "getCubelet": {
  31. "parameters": [
  32. "value"
  33. ]
  34. },
  35. "do": {
  36. "parameters": [
  37. "value"
  38. ]
  39. },
  40. "twistAction": {
  41. "parameters": [
  42. "value"
  43. ]
  44. },
  45. "setCubeletID": {
  46. "parameters": [
  47. "cubeletID",
  48. "nodeID"
  49. ]
  50. },
  51. "cubeletsRemap": {
  52. "parameters": [
  53. "cubeletID", "cubeCallback"
  54. ]
  55. },
  56. "twistLoop":{},
  57. "isCubeTweening":{},
  58. "progressQueue":{},
  59. "undo":{},
  60. "getRobot":{},
  61. "doButtonTriggerdownAction":{
  62. "parameters": [
  63. "buttonID"
  64. ]
  65. },
  66. "editRubik":{
  67. }
  68. },
  69. "scripts": {
  70. "source": "cubeModel.js"
  71. }
  72. }