Back to project page android-jplay.
The source code is released under:
Copyright (c) Nikolaj Baer All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. ...
If you think the Android project android-jplay 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.nikolajbaer.game.objects; /* w w w . ja v a 2 s.com*/ /* java */ import java.util.EventObject; /* local */ import com.nikolajbaer.game.Game; public class GameObjectEvent extends EventObject { private GameObject created; public GameObjectEvent(GameObject target){ super(target); created=null; } public GameObjectEvent(GameObject target,GameObject created){ super(target); this.created=created; } public GameObject getTarget(){ return (GameObject)source; } public GameObject getCreated(){ return created; } }