MCPcopy Create free account
hub / github.com/Hopson97/MineCraft-One-Week-Challenge / PlayerDigEvent

Method PlayerDigEvent

Source/World/Event/PlayerDigEvent.cpp:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "../World.h"
6
7PlayerDigEvent::PlayerDigEvent(sf::Mouse::Button button,
8 const glm::vec3 &location, Player &player)
9 : m_buttonPress(button)
10 , m_digSpot(location)
11 , m_pPlayer(&player)
12{
13}
14
15void PlayerDigEvent::handle(World &world)
16{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected