|
@@ -0,0 +1,43 @@
|
|
|
+<?php
|
|
|
+/**
|
|
|
+ * Created by PhpStorm.
|
|
|
+ * User: Noa
|
|
|
+ * Date: 10/08/2018
|
|
|
+ * Time: 09:35
|
|
|
+ */
|
|
|
+
|
|
|
+namespace Ashla;
|
|
|
+
|
|
|
+
|
|
|
+class AshlaLib
|
|
|
+{
|
|
|
+ /**
|
|
|
+ * AshlaLib constructor.
|
|
|
+ * @param string $model - The device model
|
|
|
+ */
|
|
|
+ public function __construct(string $model)
|
|
|
+ {
|
|
|
+ // Stub version for client
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return array<Position> - The position max and min of the target
|
|
|
+ */
|
|
|
+ public function getTargetPosition() : array {
|
|
|
+ // Stub version for client
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return Position - The position of the shooter
|
|
|
+ */
|
|
|
+ public function getShooterPosition() : Position {
|
|
|
+ // Stub version for client
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @return float
|
|
|
+ */
|
|
|
+ public function getInitialVelocity() : float {
|
|
|
+ // Stub version for client
|
|
|
+ }
|
|
|
+}
|