LUADOC - Farming Simulator 19

DepthOfFieldManager

Parent
AbstractManager
Functions

new

Description
Creating manager
Definition
new()
Return Values
tableinstanceinstance of object
Code
16function DepthOfFieldManager:new(customMt)
17 self = AbstractManager:new(customMt or DepthOfFieldManager_mt)
18
19 self.initialState = {getDoFparams()} -- initial state of the game
20 self.currentState = {getDoFparams()} -- current state if the blur is not active
21
22 self.blurState = {1, 100000, 1, 10000, 100000} -- state if the blur is active
23 self.blurIsActive = false
24
25 self.oldSetDoFparams = function() end
26
27 return self
28end