summaryrefslogtreecommitdiff
path: root/lib/sampling/manual.rb
blob: a1bf9a5028754c1cf2e4e8ea1772152a8a85a7cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
module Sampling
	module Manual
		def self.works_with?(game)
			return true
		end

		def self.uses_remote?
			return false
		end

		def self.set_remote_name(user, game, value)
			raise "This sampling method doesn't use remote usernames."
		end

		def self.get_remote_name(value)
			raise "This sampling method doesn't use remote usernames."
		end

		def self.sampling_start(match)
			# TODO
		end

		def self.sampling_done?(match)
			# TODO
		end

		def self.render_user_interaction(match, user)
			# TODO
		end

		def self.handle_user_interaction(match, user, sampling_params)
			# TODO
			#match.statistics.create(user: nil, name: "blowout",
		end
	end
end