-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
12 changes: 10 additions & 2 deletions
12
src/main/java/org/magic/api/beans/messages/SearchMessage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
package org.magic.api.beans.messages; | ||
|
||
import org.magic.api.beans.abstracts.AbstractMessage; | ||
import org.magic.api.interfaces.MTGProduct; | ||
import org.magic.game.model.Player; | ||
|
||
public class SearchMessage extends AbstractMessage { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
protected SearchMessage(Player p) { | ||
private MTGProduct item; | ||
|
||
protected SearchMessage(Player p, MTGProduct item) { | ||
super(p); | ||
// TODO Auto-generated constructor stub | ||
this.item=item; | ||
} | ||
|
||
public MTGProduct getItem() { | ||
return item; | ||
} | ||
|
||
|
||
} |