/*Stuff to fix or change:
 * 
 * 1. Unsure about type of textureInfo variable
 * 2. Unsure about collidingWith method algorithms
 * 3. did not include class inheritances because collidable and snapshottable have not been implemented
 * 
 */


package ecse321.fall2014.group3.bomberman.physics.entity;

import ecse321.fall2014.group3.bomberman.world.tile.*;
import java.util.LinkedList;

public abstract class Entity {
	
	protected double velocity;
	protected String direction;
	protected boolean collidingWith;
	LinkedList entityCollisionList = new LinkedList();
	LinkedList tileCollisionList = new LinkedList();
	
	public Entity(){
		
		velocity = 0;
		direction = "North";
		collidingWith = false;
	}
	
	public double getVelocity(){
		
		return velocity;
	}
	
	public String getDirection(){
		
		return direction;
	}

	public LinkedList getEntityCollisionList(){
		
		return entityCollisionList;
	}
	
	public LinkedList getTileCollisionList(){
		
		return tileCollisionList;
		
	}
	
	public boolean isCollidingWith(Tile t){
		
		return collidingWith;
	}
	
	public boolean isCollidingWith(Entity e){
		
		return collidingWith;
	}
	
//	public abstract getTextureInfo();
	
}

/*Stuff to fix or change:
 * 
 * 1. Unsure about type of textureInfo variable
 * 2. Unsure about collidingWith method algorithms
 * 3. did not include class inheritances because collidable and snapshottable have not been implemented
 * 4. 
 */


package ecse321.fall2014.group3.bomberman.physics.entity;

import ecse321.fall2014.group3.bomberman.world.tile.*;
import java.util.LinkedList;

public abstract class Entity {
	
	protected double velocity;
	protected String direction;
	protected boolean collidingWith;
	LinkedList entityCollisionList = new LinkedList();
	LinkedList tileCollisionList = new LinkedList();
	
	public Entity(){
		
		velocity = 0;
		direction = "North";
		collidingWith = false;
	}
	
	public double getVelocity(){
		
		return velocity;
	}
	
	public String getDirection(){
		
		return direction;
	}

	public LinkedList getEntityCollisionList(){
		
		return entityCollisionList;
	}
	
	public LinkedList getTileCollisionList(){
		
		return tileCollisionList;
		
	}
	
	public boolean isCollidingWith(Tile t){
		
		return collidingWith;
	}
	
	public boolean isCollidingWith(Entity e){
		
		return collidingWith;
	}
	
//	public abstract getTextureInfo();
	
}

Revert "created entity package and Entity class w/ basic methods "