Interface UseBehavior
- All Known Implementing Classes:
MessagingUseBehavior
public interface UseBehavior
Interface for behavior implementations that can be attached to items.
-
Method Summary
-
Method Details
-
use
Called when the item is used.- Parameters:
user- entity using the itemitem- used item- Returns:
trueon successful use,falseon failure
-