Hit.java :  » Tools » archery-goldrush » de » iceboy » android » goldrush » data » Android Open Source

Android Open Source » Tools » archery goldrush 
archery goldrush » de » iceboy » android » goldrush » data » Hit.java
package de.iceboy.android.goldrush.data;

import android.graphics.Canvas;

public class Hit {
  public static final int DRAW_SIZE = 10;
  
  private HitPoint point;
  
  public Hit(int xpos, int ypos){
    point = new HitPoint(xpos, ypos);
  }

  public int getX(){
    return point.getX();
  }
  public int getY(){
    return point.getY();
  }
  
  public int getPoints(){
    return point.getValue();
  }
  
  public void draw(Canvas canvas){
    
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.