net.sf.magicproject.event.context
Interface ContextEventListener

All Known Implementing Classes:
MContextCardCardIntInt, MContextCardCardIntIntTest, MContextMtargetable

public interface ContextEventListener

Since:
0.54
Author:
Fabrice Daugan

Method Summary
 boolean checkTimeStamp(MCard card)
          Verify the timestamp of the specified card
 MCard getEventSource()
          Return the card source of the event attached to this context.
 int getZoneContext()
          The zone attched to this context.
 void removeTimestamp()
          Decrement the reference counter for the current timestamp of this card.
 

Method Detail

checkTimeStamp

boolean checkTimeStamp(MCard card)
Verify the timestamp of the specified card

Parameters:
card - the concerned object.
Returns:
true if the timestamp is correct.

removeTimestamp

void removeTimestamp()
Decrement the reference counter for the current timestamp of this card.


getEventSource

MCard getEventSource()
Return the card source of the event attached to this context.

Returns:
the card source of the event attached to this context.

getZoneContext

int getZoneContext()
The zone attched to this context.

Returns:
zone attched to this context.


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