overte/unpublishedScripts/DomainContent/Home/tiltMaze/ballDetector.js
James B. Pollack 355f25bb8f updatez
2016-02-16 17:25:56 -08:00

37 lines
No EOL
744 B
JavaScript

//
// ballDetector.js
//
// Script Type: Entity
//
// Created by James B. Pollack @imgntn on 2/15/2016
// Copyright 2016 High Fidelity, Inc.
//
//
// This script resets a ball to its original position when the ball enters it.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
(function() {
var _this;
function BallDetctor() {
_this = this;
return;
}
BallDetctor.prototype = {
enterEntity: function() {
print('BALL ENTERED BALL DETECTOR!!')
},
destroyBall: function() {
}
createNewBall: function() {
}
};
return new BallDetctor();
});