001 package com.croftsoft.apps.mars.model;
002
003 /*********************************************************************
004 * An interface for Models that can take damage.
005 *
006 * @version
007 * 2003-04-03
008 * @since
009 * 2003-04-03
010 * @author
011 * <a href="https://www.croftsoft.com/">David Wallace Croft</a>
012 *********************************************************************/
013
014 public interface Damageable
015 extends Model
016 //////////////////////////////////////////////////////////////////////
017 //////////////////////////////////////////////////////////////////////
018 {
019
020 public void addDamage ( double damage );
021
022 //////////////////////////////////////////////////////////////////////
023 //////////////////////////////////////////////////////////////////////
024 }