net.sf.magicproject.clickable.targetable.card
Class LastKnownCardInfoImpl

java.lang.Object
  extended by net.sf.magicproject.clickable.targetable.card.LastKnownCardInfoImpl
All Implemented Interfaces:
LastKnownCardInfo

public final class LastKnownCardInfoImpl
extends java.lang.Object
implements LastKnownCardInfo

Since:
0.83
Author:
Fabrice Daugan

Method Summary
 LastKnownCard createLastKnownCard()
          Create and return a LastKnownCard object build with the last known informations.
 boolean removeTimestamp(int timestamp)
          Remove a reference to the given timestamp of card.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createLastKnownCard

public LastKnownCard createLastKnownCard()
Create and return a LastKnownCard object build with the last known informations.

Specified by:
createLastKnownCard in interface LastKnownCardInfo
Returns:
a LastKnownCard object build with the last known informations.

removeTimestamp

public boolean removeTimestamp(int timestamp)
Remove a reference to the given timestamp of card.

Specified by:
removeTimestamp in interface LastKnownCardInfo
Parameters:
timestamp - the timestamp reference
Returns:
true if the given timestamp is no more referenced.


Copyright © 2003-2007 Magic-Project. All Rights Reserved.