mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 01:09:27 +02:00
add example
This commit is contained in:
parent
8ae6f2727d
commit
d7c3677b22
1 changed files with 19 additions and 0 deletions
19
script-archive/entityScripts/doubleClickExample.js
Normal file
19
script-archive/entityScripts/doubleClickExample.js
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
(function() {
|
||||||
|
var _this;
|
||||||
|
function DoubleClickExample() {
|
||||||
|
_this = this;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
DoubleClickExample.prototype = {
|
||||||
|
clickDownOnEntity: function() {
|
||||||
|
print("clickDownOnEntity");
|
||||||
|
},
|
||||||
|
|
||||||
|
doubleclickOnEntity: function() {
|
||||||
|
print("doubleclickOnEntity");
|
||||||
|
}
|
||||||
|
|
||||||
|
};
|
||||||
|
return new DoubleClickExample();
|
||||||
|
});
|
Loading…
Reference in a new issue