1 package ru
.deadsoftware
.cavedroid
.game
.mobs
;
3 import com
.badlogic
.gdx
.graphics
.g2d
.SpriteBatch
;
4 import com
.badlogic
.gdx
.math
.Vector2
;
5 import ru
.deadsoftware
.cavedroid
.game
.GameItems
;
6 import ru
.deadsoftware
.cavedroid
.misc
.Assets
;
8 public class FallingGravel
extends Mob
{
11 public FallingGravel(float x
, float y
) {
12 super(x
, y
, 16, 16, 0);
13 mov
= new Vector2(0, 1);
21 public void changeDir() {
25 public void draw(SpriteBatch spriteBatch
, float x
, float y
) {
26 spriteBatch
.draw(GameItems
.getBlock("gravel").getTex(), x
, y
);
30 public int getType() {