C# Class PlantProjectileObject, GardensGrow

Inheritance: MonoBehaviour
Show file Open project: GameDevStudioUCSD/GardensGrow

Public Properties

Property Type Description
damage int
dir Globals.Direction
evil bool
shotRange int
shotSpeed float

Public Methods

Method Description
Mover ( float shotSpeed, Globals.Direction dir ) : void
OnTriggerEnter2D ( Collider2D, other ) : void
Start ( ) : void
Update ( ) : void

Method Details

Mover() public method

public Mover ( float shotSpeed, Globals.Direction dir ) : void
shotSpeed float
dir Globals.Direction
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D, other ) : void
other Collider2D,
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

damage public property

public int damage
return int

dir public property

public Globals.Direction dir
return Globals.Direction

evil public property

public bool evil
return bool

shotRange public property

public int shotRange
return int

shotSpeed public property

public float shotSpeed
return float