Back to project page Station42.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUC...
If you think the Android project Station42 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.station42.hacking; //from w ww . ja va 2 s . c om import java.util.ArrayList; import com.station42.base.Engine; import com.station42.base.Entity; import com.station42.basic.EntityLocation; public class Hackable { String description; float range; float duration; private Entity hacker; public Hackable(String description, float range, float duration) { this.description = description; this.range = range; this.duration = duration; } public float getDuration() { return duration; } public void hack(Entity hacker) { this.hacker = hacker; } public Entity getHacker() { return hacker; } public void clearHacker() { this.hacker = null; } }