2016-05-03 08:06:32 -04:00
|
|
|
import { Hero } from './hero';
|
2015-11-25 12:01:44 -05:00
|
|
|
|
|
|
|
export class HeroesService {
|
|
|
|
heroes: Array<Hero> = [
|
|
|
|
{ name: "RubberMan", power: 'flexibility'},
|
|
|
|
{ name: "Tornado", power: 'Weather changer'}
|
|
|
|
];
|
|
|
|
|
|
|
|
getHeroes () {
|
|
|
|
return this.heroes;
|
|
|
|
}
|
|
|
|
}
|