You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
479 B
21 lines
479 B
require('../../sass/board/muncher.scss');
|
|
|
|
import { Component } from 'react';
|
|
|
|
export default class Muncher extends Component{
|
|
// getInitialState() {
|
|
// return {
|
|
// x: 0,
|
|
// y: 0
|
|
// };
|
|
// },
|
|
|
|
render() {
|
|
// const classname = ['muncher', 'x' + this.state.x, 'y' + this.state.y];
|
|
|
|
return (
|
|
<div className='muncher'></div>
|
|
// <div className={classname.join(' ')}></div>
|
|
);
|
|
};
|
|
};
|
|
|