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> = [
|
2016-06-07 19:06:25 -04:00
|
|
|
{ name: 'RubberMan', power: 'flexibility'},
|
|
|
|
{ name: 'Tornado', power: 'Weather changer'}
|
2015-11-25 12:01:44 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
getHeroes () {
|
|
|
|
return this.heroes;
|
|
|
|
}
|
|
|
|
}
|