Revision 440f8e33
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/main/ObjectPreRender.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
package org.distorted.objectlib.main; |
11 | 11 |
|
12 |
import android.app.Activity; |
|
13 | 12 |
import android.content.SharedPreferences; |
14 | 13 |
|
15 | 14 |
import org.distorted.library.message.EffectListener; |
... | ... | |
67 | 66 |
|
68 | 67 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
69 | 68 |
|
70 |
public ObjectPreRender(Activity act, ObjectControl controller, ObjectLibInterface actioner)
|
|
69 |
public ObjectPreRender(ObjectControl controller, ObjectLibInterface actioner) |
|
71 | 70 |
{ |
72 | 71 |
mInterface = actioner; |
73 | 72 |
mController = controller; |
... | ... | |
94 | 93 |
|
95 | 94 |
mEffectID = new long[BaseEffect.Type.LENGTH]; |
96 | 95 |
|
97 |
mBlockController = new BlockController(act,this);
|
|
96 |
mBlockController = new BlockController(this); |
|
98 | 97 |
unblockEverything(); |
99 | 98 |
} |
100 | 99 |
|
Also available in: Unified diff
remove all references to android.Context and android.Activity from distorted-objectlib