Skip to content

Commit 3fd0caa

Browse files
committed
version for gun sensors
1 parent d58b3ab commit 3fd0caa

26 files changed

+817
-573
lines changed

LiftTarget_iOS.xcodeproj/project.pbxproj

+80-36
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
/* Begin PBXBuildFile section */
1010
402223C6289B039800859817 /* ConfigureGameController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 402223C5289B039800859817 /* ConfigureGameController.swift */; };
11-
402223CE289C74F800859817 /* MainController+Ext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 402223CD289C74F800859817 /* MainController+Ext.swift */; };
1211
402223D1289F019500859817 /* TargetNotificationConverter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 402223D0289F019500859817 /* TargetNotificationConverter.swift */; };
1312
402223D5289F0EAE00859817 /* Game.swift in Sources */ = {isa = PBXBuildFile; fileRef = 402223D4289F0EAE00859817 /* Game.swift */; };
1413
402223DB289FA92600859817 /* GameController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 402223D9289FA92600859817 /* GameController.swift */; };
@@ -35,6 +34,10 @@
3534
40AE687F28A97CCB00717AA4 /* LiftTarget_iOSUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40AE687E28A97CCB00717AA4 /* LiftTarget_iOSUITestsLaunchTests.swift */; };
3635
40AE688628B2DFAB00717AA4 /* GameReferee.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40AE688528B2DFAB00717AA4 /* GameReferee.swift */; };
3736
40AE688828B2E18000717AA4 /* Session.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40AE688728B2E18000717AA4 /* Session.swift */; };
37+
40E2584028DEE3EB00EA6F96 /* DeviceManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E2583F28DEE3EB00EA6F96 /* DeviceManager.swift */; };
38+
40E2584228DF11A600EA6F96 /* BluetoothManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E2584128DF11A600EA6F96 /* BluetoothManager.swift */; };
39+
40E2584428DF17B500EA6F96 /* Device.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E2584328DF17B500EA6F96 /* Device.swift */; };
40+
40E2584B28E097B200EA6F96 /* Setting.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40E2584A28E097B200EA6F96 /* Setting.swift */; };
3841
/* End PBXBuildFile section */
3942

4043
/* Begin PBXContainerItemProxy section */
@@ -56,7 +59,6 @@
5659

5760
/* Begin PBXFileReference section */
5861
402223C5289B039800859817 /* ConfigureGameController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConfigureGameController.swift; sourceTree = "<group>"; };
59-
402223CD289C74F800859817 /* MainController+Ext.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "MainController+Ext.swift"; sourceTree = "<group>"; };
6062
402223D0289F019500859817 /* TargetNotificationConverter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TargetNotificationConverter.swift; sourceTree = "<group>"; };
6163
402223D4289F0EAE00859817 /* Game.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Game.swift; sourceTree = "<group>"; };
6264
402223D9289FA92600859817 /* GameController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameController.swift; sourceTree = "<group>"; };
@@ -87,6 +89,10 @@
8789
40AE687E28A97CCB00717AA4 /* LiftTarget_iOSUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LiftTarget_iOSUITestsLaunchTests.swift; sourceTree = "<group>"; };
8890
40AE688528B2DFAB00717AA4 /* GameReferee.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameReferee.swift; sourceTree = "<group>"; };
8991
40AE688728B2E18000717AA4 /* Session.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Session.swift; sourceTree = "<group>"; };
92+
40E2583F28DEE3EB00EA6F96 /* DeviceManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DeviceManager.swift; sourceTree = "<group>"; };
93+
40E2584128DF11A600EA6F96 /* BluetoothManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BluetoothManager.swift; sourceTree = "<group>"; };
94+
40E2584328DF17B500EA6F96 /* Device.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Device.swift; sourceTree = "<group>"; };
95+
40E2584A28E097B200EA6F96 /* Setting.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Setting.swift; sourceTree = "<group>"; };
9096
/* End PBXFileReference section */
9197

9298
/* Begin PBXFrameworksBuildPhase section */
@@ -118,16 +124,15 @@
118124
isa = PBXGroup;
119125
children = (
120126
40A8F9FE287049FF000BCFF6 /* MainController.swift */,
121-
402223CD289C74F800859817 /* MainController+Ext.swift */,
122127
);
123128
path = MainController;
124129
sourceTree = "<group>";
125130
};
126131
402223D3289F0E7E00859817 /* ConfigureGame */ = {
127132
isa = PBXGroup;
128133
children = (
129-
402223C5289B039800859817 /* ConfigureGameController.swift */,
130-
40AE684E28A8F1CD00717AA4 /* SettingCell.swift */,
134+
40E2584928E0979B00EA6F96 /* Model */,
135+
40E2584C28E097C600EA6F96 /* ViewController */,
131136
);
132137
path = ConfigureGame;
133138
sourceTree = "<group>";
@@ -136,7 +141,6 @@
136141
isa = PBXGroup;
137142
children = (
138143
402223CC289C74BF00859817 /* MainController */,
139-
402223D8289FA6F200859817 /* SearchPeripherals */,
140144
402223D3289F0E7E00859817 /* ConfigureGame */,
141145
402223D7289FA6DE00859817 /* Game */,
142146
);
@@ -146,23 +150,13 @@
146150
402223D7289FA6DE00859817 /* Game */ = {
147151
isa = PBXGroup;
148152
children = (
149-
402223D9289FA92600859817 /* GameController.swift */,
150-
402223DA289FA92600859817 /* GameController.xib */,
151-
402223DD28A7C92400859817 /* TargetsView.swift */,
152-
40AE685228A9186E00717AA4 /* PlayerCell.swift */,
153-
40AE685328A9186E00717AA4 /* PlayerCell.xib */,
153+
40E2584528E0940200EA6F96 /* Model */,
154+
40E2584628E0940B00EA6F96 /* View */,
155+
40E2584728E0941200EA6F96 /* Presenter */,
154156
);
155157
path = Game;
156158
sourceTree = "<group>";
157159
};
158-
402223D8289FA6F200859817 /* SearchPeripherals */ = {
159-
isa = PBXGroup;
160-
children = (
161-
40A8FA0E28704E69000BCFF6 /* SearchController.swift */,
162-
);
163-
path = SearchPeripherals;
164-
sourceTree = "<group>";
165-
};
166160
402223DF28A816EB00859817 /* Environments */ = {
167161
isa = PBXGroup;
168162
children = (
@@ -194,7 +188,7 @@
194188
40A8F9F9287049FF000BCFF6 /* LiftTarget_iOS */ = {
195189
isa = PBXGroup;
196190
children = (
197-
40AE686628A97B0300717AA4 /* BusinessLogic */,
191+
40AE686628A97B0300717AA4 /* Services */,
198192
40AE686528A9791500717AA4 /* Resources */,
199193
40AE684A28A8188800717AA4 /* App */,
200194
40AE684B28A8C7E000717AA4 /* Core */,
@@ -208,7 +202,6 @@
208202
isa = PBXGroup;
209203
children = (
210204
40AE686428A95E6700717AA4 /* Flows */,
211-
40AE686328A95E3000717AA4 /* Entity */,
212205
40A8F9FA287049FF000BCFF6 /* AppDelegate.swift */,
213206
40A8F9FC287049FF000BCFF6 /* SceneDelegate.swift */,
214207
);
@@ -234,18 +227,6 @@
234227
path = GameState;
235228
sourceTree = "<group>";
236229
};
237-
40AE686328A95E3000717AA4 /* Entity */ = {
238-
isa = PBXGroup;
239-
children = (
240-
40AE685828A93A0D00717AA4 /* GameState */,
241-
402223D4289F0EAE00859817 /* Game.swift */,
242-
40AE685628A935B000717AA4 /* Player.swift */,
243-
40AE688728B2E18000717AA4 /* Session.swift */,
244-
40AE688528B2DFAB00717AA4 /* GameReferee.swift */,
245-
);
246-
path = Entity;
247-
sourceTree = "<group>";
248-
};
249230
40AE686428A95E6700717AA4 /* Flows */ = {
250231
isa = PBXGroup;
251232
children = (
@@ -263,12 +244,14 @@
263244
path = Resources;
264245
sourceTree = "<group>";
265246
};
266-
40AE686628A97B0300717AA4 /* BusinessLogic */ = {
247+
40AE686628A97B0300717AA4 /* Services */ = {
267248
isa = PBXGroup;
268249
children = (
250+
40E2584828E094AC00EA6F96 /* DeviceManager */,
269251
402223D0289F019500859817 /* TargetNotificationConverter.swift */,
252+
40E2584128DF11A600EA6F96 /* BluetoothManager.swift */,
270253
);
271-
path = BusinessLogic;
254+
path = Services;
272255
sourceTree = "<group>";
273256
};
274257
40AE686E28A97C8F00717AA4 /* LiftTarget_iOSTests */ = {
@@ -288,6 +271,64 @@
288271
path = LiftTarget_iOSUITests;
289272
sourceTree = "<group>";
290273
};
274+
40E2584528E0940200EA6F96 /* Model */ = {
275+
isa = PBXGroup;
276+
children = (
277+
40AE685628A935B000717AA4 /* Player.swift */,
278+
40AE688728B2E18000717AA4 /* Session.swift */,
279+
);
280+
path = Model;
281+
sourceTree = "<group>";
282+
};
283+
40E2584628E0940B00EA6F96 /* View */ = {
284+
isa = PBXGroup;
285+
children = (
286+
402223D9289FA92600859817 /* GameController.swift */,
287+
402223DA289FA92600859817 /* GameController.xib */,
288+
402223DD28A7C92400859817 /* TargetsView.swift */,
289+
40AE685228A9186E00717AA4 /* PlayerCell.swift */,
290+
40AE685328A9186E00717AA4 /* PlayerCell.xib */,
291+
);
292+
path = View;
293+
sourceTree = "<group>";
294+
};
295+
40E2584728E0941200EA6F96 /* Presenter */ = {
296+
isa = PBXGroup;
297+
children = (
298+
402223D4289F0EAE00859817 /* Game.swift */,
299+
40AE685828A93A0D00717AA4 /* GameState */,
300+
40AE688528B2DFAB00717AA4 /* GameReferee.swift */,
301+
);
302+
path = Presenter;
303+
sourceTree = "<group>";
304+
};
305+
40E2584828E094AC00EA6F96 /* DeviceManager */ = {
306+
isa = PBXGroup;
307+
children = (
308+
40E2583F28DEE3EB00EA6F96 /* DeviceManager.swift */,
309+
40E2584328DF17B500EA6F96 /* Device.swift */,
310+
);
311+
path = DeviceManager;
312+
sourceTree = "<group>";
313+
};
314+
40E2584928E0979B00EA6F96 /* Model */ = {
315+
isa = PBXGroup;
316+
children = (
317+
40E2584A28E097B200EA6F96 /* Setting.swift */,
318+
);
319+
path = Model;
320+
sourceTree = "<group>";
321+
};
322+
40E2584C28E097C600EA6F96 /* ViewController */ = {
323+
isa = PBXGroup;
324+
children = (
325+
402223C5289B039800859817 /* ConfigureGameController.swift */,
326+
40AE684E28A8F1CD00717AA4 /* SettingCell.swift */,
327+
40A8FA0E28704E69000BCFF6 /* SearchController.swift */,
328+
);
329+
path = ViewController;
330+
sourceTree = "<group>";
331+
};
291332
/* End PBXGroup section */
292333

293334
/* Begin PBXNativeTarget section */
@@ -427,17 +468,20 @@
427468
402223DB289FA92600859817 /* GameController.swift in Sources */,
428469
40AE686028A93BEC00717AA4 /* ShootState.swift in Sources */,
429470
40AE684F28A8F1CD00717AA4 /* SettingCell.swift in Sources */,
471+
40E2584B28E097B200EA6F96 /* Setting.swift in Sources */,
430472
40AE688628B2DFAB00717AA4 /* GameReferee.swift in Sources */,
431473
40AE685728A935B000717AA4 /* Player.swift in Sources */,
432474
402223D5289F0EAE00859817 /* Game.swift in Sources */,
433475
40A8F9FB287049FF000BCFF6 /* AppDelegate.swift in Sources */,
434476
40AE686228A94E7A00717AA4 /* PauseState.swift in Sources */,
435477
40A8F9FD287049FF000BCFF6 /* SceneDelegate.swift in Sources */,
436-
402223CE289C74F800859817 /* MainController+Ext.swift in Sources */,
478+
40E2584028DEE3EB00EA6F96 /* DeviceManager.swift in Sources */,
437479
402223C6289B039800859817 /* ConfigureGameController.swift in Sources */,
438480
40AE685C28A93AEA00717AA4 /* WaitState.swift in Sources */,
481+
40E2584428DF17B500EA6F96 /* Device.swift in Sources */,
439482
402223DE28A7C92400859817 /* TargetsView.swift in Sources */,
440483
402223D1289F019500859817 /* TargetNotificationConverter.swift in Sources */,
484+
40E2584228DF11A600EA6F96 /* BluetoothManager.swift in Sources */,
441485
40AE685A28A93A5600717AA4 /* AbstractGameState.swift in Sources */,
442486
40A8FA0F28704E69000BCFF6 /* SearchController.swift in Sources */,
443487
40AE685428A9186E00717AA4 /* PlayerCell.swift in Sources */,

0 commit comments

Comments
 (0)